mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +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;
|
type Error = IOErrorFatfs;
|
||||||
}
|
}
|
||||||
pub struct SliceCursor<'a> {
|
pub struct SliceCursor<'a> {
|
||||||
slice: &'a mut [u8],
|
pub slice: &'a mut [u8],
|
||||||
pos: u64,
|
pub pos: u64,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> SliceCursor<'a> {
|
impl<'a> SliceCursor<'a> {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue