The name of the data source For FileCursor, this will be the filename, otherwise a description of the type of data.
Position in the stream (how many bytes read so far)
Whether end-of-input was reached
Fast-forward and discard dist bytes. Passing size_t.max will exhaust the input.
Reads a single byte
Get a value of type T. Is a convenience over readValue.
Read up to buffer.length bytes into buffer and return what was read. Returns a smaller slice only if EOI was reached.
Read T.sizeof data and returns it as a T. Similar to get!T but the value is passed as pointer to be filled in. Prefer this form for greater values (e.g. dozens of bytes)
Range based data input