The API for reading scalar values โโseems to have been removed from traits Cursor
and Reader
io. Is there a standard library replacement for these or do I need to write my own?
For example, it was possible to write:
let magic = try!(reader.read_be_u16());
source
to share