Class BooleanArraySerializer
java.lang.Object
one.nio.serial.Serializer<boolean[]>
one.nio.serial.BooleanArraySerializer
- All Implemented Interfaces:
Externalizable, Serializable
-
Field Summary
FieldsFields inherited from class Serializer
cls, descriptor, origin, uid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalcSize(boolean[] obj, CalcSizeStream css) boolean[]fromJson(JsonReader in) boolean[]read(DataStream in) voidskip(DataStream in) voidtoJson(boolean[] obj, StringBuilder builder) voidwrite(boolean[] obj, DataStream out) Methods inherited from class Serializer
cls, code, deserialize, equals, fromString, generateUid, hashCode, persist, readExternal, serialize, sizeOf, skipExternal, toJson, toString, uid, uniqueName, writeExternal
-
Field Details
-
EMPTY_BOOLEAN_ARRAY
private static final boolean[] EMPTY_BOOLEAN_ARRAY
-
-
Constructor Details
-
BooleanArraySerializer
BooleanArraySerializer()
-
-
Method Details
-
calcSize
- Specified by:
calcSizein classSerializer<boolean[]>
-
write
- Specified by:
writein classSerializer<boolean[]>- Throws:
IOException
-
read
- Specified by:
readin classSerializer<boolean[]>- Throws:
IOException
-
skip
- Specified by:
skipin classSerializer<boolean[]>- Throws:
IOException
-
toJson
- Specified by:
toJsonin classSerializer<boolean[]>
-
fromJson
- Specified by:
fromJsonin classSerializer<boolean[]>- Throws:
IOException
-