BufferProvider
trait BufferProvider
class Object
trait Matchable
class Any
Value members
Abstract methods
Makes sure the ByteBuffer has enough space for new data. If not, allocates a new ByteBuffer and returns it. The returned ByteBuffer must have little-endian ordering.
Makes sure the ByteBuffer has enough space for new data. If not, allocates a new ByteBuffer and returns it. The returned ByteBuffer must have little-endian ordering.
- Value Params
- size
Number of bytes needed for new data
Completes the encoding and returns the ByteBuffer, merging the chain of buffers if necessary
Completes the encoding and returns the ByteBuffer, merging the chain of buffers if necessary