-
- All Implemented Interfaces:
public final class NullableBooleanAdapter extends ScaleCodecAdapter<Boolean>
An adapter for NullableBoolean type
-
-
Constructor Summary
Constructors Constructor Description NullableBooleanAdapter()
-
Method Summary
Modifier and Type Method Description Booleanread(ByteArrayReader reader, KType type, List<Annotation> annotations)Reads (decodes) data to specified type ByteArraywrite(Boolean obj, KType type, List<Annotation> annotations)Writes (encodes) the object -
-
Method Detail
-
read
Boolean read(ByteArrayReader reader, KType type, List<Annotation> annotations)
Reads (decodes) data to specified type
- Parameters:
reader- a ByteArray reader thattype- expected typeannotations- a list of annotations.
-
-
-
-