| ... | @@ -42,6 +42,9 @@ pub const readAlloc = R.readAlloc; | ... | @@ -42,6 +42,9 @@ pub const readAlloc = R.readAlloc; |
| 42 | pub const readInt = R.readInt; | 42 | pub const readInt = R.readInt; |
| 43 | pub const readUntilDelimitersAlloc = R.readUntilDelimitersAlloc; | 43 | pub const readUntilDelimitersAlloc = R.readUntilDelimitersAlloc; |
| 44 | pub const readUntilDelimiterOrEof = R.readUntilDelimiterOrEof; | 44 | pub const readUntilDelimiterOrEof = R.readUntilDelimiterOrEof; |
| | 45 | pub const readExpected = R.readExpected; |
| | 46 | pub const skipBytes = R.skipBytes; |
| | 47 | pub const skipUntilDelimiterOrEof = R.skipUntilDelimiterOrEof; |
| 45 | | 48 | |
| 46 | pub const ReadError = sys.errno.Error; | 49 | pub const ReadError = sys.errno.Error; |
| 47 | pub fn read(self: File, buffer: []u8) ReadError!usize { | 50 | pub fn read(self: File, buffer: []u8) ReadError!usize { |