public class ByteArrayCodec extends BufferCodec<byte[],byte[]>
DEFAULT_DELIMITER, delimiter| Constructor and Description |
|---|
ByteArrayCodec() |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
apply(byte[] bytes)
Execute the logic of the action, accepting the given parameter.
|
Function<Buffer,byte[]> |
decoder(Consumer<byte[]> next)
Provide the caller with a decoder to turn a source object into an instance of the input
type.
|
decode, encodeaddDelimiterIfAny, decoder, doBufferDecode, doDelimitedBufferDecode, encoder, invokeCallbackOrReturn