public class ArrayToBufferCodec extends Object implements ICodec<byte[],ByteBuffer>
class
for encoders and decoders transforming an array of
bytes into a ByteBuffer
.Constructor and Description |
---|
ArrayToBufferCodec() |
Modifier and Type | Method and Description |
---|---|
Class<byte[]> |
getInboundType()
Returns the type of the accepted inbound objects.
|
Class<ByteBuffer> |
getOutboundType()
Returns the type of the produced outbound objects.
|
public Class<byte[]> getInboundType()
ICodec
getInboundType
in interface ICodec<byte[],ByteBuffer>
public Class<ByteBuffer> getOutboundType()
ICodec
getOutboundType
in interface ICodec<byte[],ByteBuffer>
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.