public interface WritableBufferAllocator
MessageFramer so
it can send chunks of data to the transport in a form that the transport can directly serialize.| Modifier and Type | Method and Description |
|---|---|
WritableBuffer |
allocate(int capacityHint)
Request a new
WritableBuffer with the given capacityHint. |
WritableBuffer allocate(int capacityHint)
WritableBuffer with the given capacityHint. The allocator is
free to return a buffer with a greater or lesser capacity.