Read up to buffer.length bytes into buffer and return what was read. Returns a smaller slice only if EOI was reached.
See Implementation
Read up to buffer.length bytes into buffer and return what was read. Returns a smaller slice only if EOI was reached.