Class BinaryDtoField.BinaryDtoInvalidCodec
java.lang.Object
io.datarouter.bytes.binarydto.fieldcodec.BinaryDtoBaseFieldCodec<Object>
io.datarouter.bytes.binarydto.dto.BinaryDtoField.BinaryDtoInvalidCodec
- Enclosing class:
- BinaryDtoField
public static class BinaryDtoField.BinaryDtoInvalidCodec extends BinaryDtoBaseFieldCodec<Object>
Internal class to represent the lack of a specified codec.
-
Constructor Summary
Constructors Constructor Description BinaryDtoInvalidCodec() -
Method Summary
Modifier and Type Method Description Objectdecode(byte[] bytes, int offset, int length)byte[]encode(Object 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, fixedLength, isFixedLength, isVariableLength
-
Constructor Details
-
BinaryDtoInvalidCodec
public BinaryDtoInvalidCodec()
-
-
Method Details
-
encode
- Specified by:
encodein classBinaryDtoBaseFieldCodec<Object>
-
decode
- Specified by:
decodein classBinaryDtoBaseFieldCodec<Object>
-
supportsComparableCodec
public boolean supportsComparableCodec()Description copied from class:BinaryDtoBaseFieldCodecOverride with true if the codec is suitable for comparable encoding.- Specified by:
supportsComparableCodecin classBinaryDtoBaseFieldCodec<Object>
-