Fills the given buffer with data from the stream.
Note: This is not guaranteed to read the entire buffer from the stream. If T.sizeof is larger than 1, it is possible that an element is partially read. If a guarantee that the entire buffer is filled, use readExactly instead.
The number of bytes read.
See Implementation
Fills the given buffer with data from the stream.
Note: This is not guaranteed to read the entire buffer from the stream. If T.sizeof is larger than 1, it is possible that an element is partially read. If a guarantee that the entire buffer is filled, use readExactly instead.