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