mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
make slice cursor peekable
This commit is contained in:
parent
fb0efbce3b
commit
3bf8598509
1 changed files with 2 additions and 2 deletions
|
|
@ -57,8 +57,8 @@ impl IOBase for SliceCursor<'_> {
|
|||
type Error = IOErrorFatfs;
|
||||
}
|
||||
pub struct SliceCursor<'a> {
|
||||
slice: &'a mut [u8],
|
||||
pos: u64,
|
||||
pub slice: &'a mut [u8],
|
||||
pub pos: u64,
|
||||
}
|
||||
|
||||
impl<'a> SliceCursor<'a> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue