Class ListBinaryDtoFieldCodec<T>
java.lang.Object
io.datarouter.bytes.binarydto.fieldcodec.BinaryDtoBaseFieldCodec<List<T>>
io.datarouter.bytes.binarydto.fieldcodec.other.ListBinaryDtoFieldCodec<T>
public class ListBinaryDtoFieldCodec<T> extends BinaryDtoBaseFieldCodec<List<T>>
-
Constructor Summary
Constructors Constructor Description ListBinaryDtoFieldCodec(BinaryDtoBaseFieldCodec<T> itemCodec, boolean isNullableItems) -
Method Summary
Modifier and Type Method Description List<T>decode(byte[] bytes, int offset)LengthAndValue<List<T>>decodeWithLength(byte[] bytes, int offset)byte[]encode(List<T> value)Methods inherited from class io.datarouter.bytes.binarydto.fieldcodec.BinaryDtoBaseFieldCodec
compareAsIfEncoded, decodeLength, fixedLength, isFixedLength
-
Constructor Details
-
Method Details
-
encode
- Specified by:
encodein classBinaryDtoBaseFieldCodec<List<T>>
-
decode
- Overrides:
decodein classBinaryDtoBaseFieldCodec<List<T>>
-
decodeWithLength
- Specified by:
decodeWithLengthin classBinaryDtoBaseFieldCodec<List<T>>
-