Class BaseArrayBinaryDtoFieldCodec<T,A>
java.lang.Object
io.datarouter.bytes.binarydto.fieldcodec.BinaryDtoBaseFieldCodec<A>
io.datarouter.bytes.binarydto.fieldcodec.other.BaseArrayBinaryDtoFieldCodec<T,A>
- Direct Known Subclasses:
ListBinaryDtoFieldCodec,ObjectArrayBinaryDtoFieldCodec
public abstract class BaseArrayBinaryDtoFieldCodec<T,A> extends BinaryDtoBaseFieldCodec<A>
-
Constructor Summary
Constructors Constructor Description BaseArrayBinaryDtoFieldCodec(BinaryDtoBaseFieldCodec<T> itemCodec, boolean isNullableItems) -
Method Summary
Modifier and Type Method Description List<T>decodeInternal(byte[] bytes, int offset, int length)byte[]encodeInternal(List<T> value)booleansupportsComparableCodec()Override with true if the codec is suitable for comparable encoding.Methods inherited from class io.datarouter.bytes.binarydto.fieldcodec.BinaryDtoBaseFieldCodec
compareAsIfEncoded, decode, decode, encode, fixedLength, isFixedLength, isVariableLength
-
Constructor Details
-
BaseArrayBinaryDtoFieldCodec
-
-
Method Details
-
supportsComparableCodec
public boolean supportsComparableCodec()Description copied from class:BinaryDtoBaseFieldCodecOverride with true if the codec is suitable for comparable encoding.- Specified by:
supportsComparableCodecin classBinaryDtoBaseFieldCodec<A>
-
encodeInternal
-
decodeInternal
-