| ... | @@ -215,7 +215,7 @@ pub fn openSelfExe(io: Io, flags: OpenFlags) OpenSelfExeError!File { | ... | @@ -215,7 +215,7 @@ pub fn openSelfExe(io: Io, flags: OpenFlags) OpenSelfExeError!File { |
| 215 | | 215 | |
| 216 | pub const ReadPositionalError = Reader.Error || error{Unseekable}; | 216 | pub const ReadPositionalError = Reader.Error || error{Unseekable}; |
| 217 | | 217 | |
| 218 | pub fn readPositional(file: File, io: Io, buffer: []u8, offset: u64) ReadPositionalError!usize { | 218 | pub fn readPositional(file: File, io: Io, buffer: [][]u8, offset: u64) ReadPositionalError!usize { |
| 219 | return io.vtable.fileReadPositional(io.userdata, file, buffer, offset); | 219 | return io.vtable.fileReadPositional(io.userdata, file, buffer, offset); |
| 220 | } | 220 | } |
| 221 | | 221 | |