Uses of Class
org.djutils.serialization.SerializationException
Packages that use SerializationException
Package
Description
Interface and code to serialize and deserialize data.
The different types of (de)serializers..
- 
Uses of SerializationException in org.djutils.serializationMethods in org.djutils.serialization that throw SerializationExceptionModifier and TypeMethodDescriptionprotected static Serializer<?>[]TypedMessage.buildEncoderList(boolean utf8, Object... content) Build the list of serializers corresponding to the data in an Object array.static Object[]TypedMessage.decode(Endianness endianness, byte[] buffer, Map<Byte, Serializer<?>> decoderMap) Decode the message into an object array.static ObjectTypedObject.decode(Endianness endianness, byte[] buffer, Map<Byte, Serializer<?>> decoderMap) Decode the message into a single object.static booleanTypedObject.decodeBoolean(Endianness endianness, byte[] buffer) Decode a boolean value from the buffer, including the prefix.static byteTypedObject.decodeByte(Endianness endianness, byte[] buffer) Decode a byte value from the buffer, including the prefix.static charTypedObject.decodeCharUtf16(Endianness endianness, byte[] buffer) Decode a char value from the buffer, including the prefix, based on a one-byte UTF-16 value.static charTypedObject.decodeCharUtf8(Endianness endianness, byte[] buffer) Decode a char value from the buffer, including the prefix, based on a one-byte UTF-8 value.static doubleTypedObject.decodeDouble(Endianness endianness, byte[] buffer) Decode a double value from the buffer, including the prefix.static floatTypedObject.decodeFloat(Endianness endianness, byte[] buffer) Decode a float value from the buffer, including the prefix.static intTypedObject.decodeInt(Endianness endianness, byte[] buffer) Decode an integer value from the buffer, including the prefix.static longTypedObject.decodeLong(Endianness endianness, byte[] buffer) Decode a long value from the buffer, including the prefix.static shortTypedObject.decodeShort(Endianness endianness, byte[] buffer) Decode a short value from the buffer, including the prefix.static Object[]TypedMessage.decodeToObjectDataTypes(Endianness endianness, byte[] buffer) Decode the message into an object array, constructing Java Object arrays and matrices where possible.static ObjectTypedObject.decodeToObjectDataTypes(Endianness endianness, byte[] buffer) Decode the message into an object, constructing Java Objects, Object arrays and matrices where possible.static Object[]TypedMessage.decodeToPrimitiveDataTypes(Endianness endianness, byte[] buffer) Decode the message into an object array, constructing Java Primitive data arrays and matrices where possible.static ObjectTypedObject.decodeToPrimitiveDataTypes(Endianness endianness, byte[] buffer) Decode the message into an object, constructing Java primitives, primitive data arrays and matrices where possible.Endianness.decodeUTF8String(byte[] message, int pointer) Decode a String including the length int from the message byte array.static byte[]TypedMessage.encode(Endianness endianness, Object... content) Encode the object array into a byte[] message.static byte[]TypedObject.encode(Endianness endianness, Object content) Encode the object into a byte[] message.static byte[]TypedMessage.encodeUTF16(Endianness endianness, Object... content) Encode the object array into a byte[] message.static byte[]TypedObject.encodeUTF16(Endianness endianness, Object content) Encode the object array into a byte[] message.static byte[]TypedMessage.encodeUTF8(Endianness endianness, Object... content) Encode the object array into a byte[] message.static byte[]TypedObject.encodeUTF8(Endianness endianness, Object content) Encode the object into a byte[] message.protected static Serializer<?>TypedObject.findEncoder(boolean utf8, Object object) Find the serializer for one object.
- 
Uses of SerializationException in org.djutils.serialization.serializersMethods in org.djutils.serialization.serializers that throw SerializationExceptionModifier and TypeMethodDescriptionDoubleMatrixSerializer.deSerialize(byte[] buffer, Pointer pointer, Endianness endianness) DoubleScalarSerializer.deSerialize(byte[] buffer, Pointer pointer, Endianness endianness) V[]DoubleVectorArraySerializer.deSerialize(byte[] buffer, Pointer pointer, Endianness endianness) DoubleVectorSerializer.deSerialize(byte[] buffer, Pointer pointer, Endianness endianness) FloatMatrixSerializer.deSerialize(byte[] buffer, Pointer pointer, Endianness endianness) FloatScalarSerializer.deSerialize(byte[] buffer, Pointer pointer, Endianness endianness) V[]FloatVectorArraySerializer.deSerialize(byte[] buffer, Pointer pointer, Endianness endianness) FloatVectorSerializer.deSerialize(byte[] buffer, Pointer pointer, Endianness endianness) Serializer.deSerialize(byte[] buffer, Pointer pointer, Endianness endianness) Deserialize an object of type T.voidDoubleMatrixSerializer.serialize(M adm, byte[] buffer, Pointer pointer, Endianness endianness) voidDoubleScalarSerializer.serialize(S ads, byte[] buffer, Pointer pointer, Endianness endianness) voidDoubleVectorArraySerializer.serialize(V[] adva, byte[] buffer, Pointer pointer, Endianness endianness) voidDoubleVectorSerializer.serialize(V adv, byte[] buffer, Pointer pointer, Endianness endianness) voidFloatMatrixSerializer.serialize(M afm, byte[] buffer, Pointer pointer, Endianness endianness) voidFloatScalarSerializer.serialize(S afs, byte[] buffer, Pointer pointer, Endianness endianness) voidFloatVectorArraySerializer.serialize(V[] adva, byte[] buffer, Pointer pointer, Endianness endianness) final voidObjectMatrixSerializer.serialize(E[][] matrix, byte[] buffer, Pointer pointer, Endianness endianness) voidSerializer.serialize(T object, byte[] buffer, Pointer pointer, Endianness endianness) Serialize an object of type T; not including the prefix byte(s).final voidArrayOrMatrixWithUnitSerializer.serializeWithPrefix(T object, byte[] buffer, Pointer pointer, Endianness endianness) final voidBasicPrimitiveArrayOrMatrixSerializer.serializeWithPrefix(T object, byte[] buffer, Pointer pointer, Endianness endianness) final voidObjectArraySerializer.serializeWithPrefix(E[] array, byte[] buffer, Pointer pointer, Endianness endianness) final voidObjectMatrixSerializer.serializeWithPrefix(E[][] matrix, byte[] buffer, Pointer pointer, Endianness endianness) final voidObjectSerializer.serializeWithPrefix(T object, byte[] buffer, Pointer pointer, Endianness endianness) voidSerializer.serializeWithPrefix(T object, byte[] buffer, Pointer pointer, Endianness endianness) Serialize an object of type T including the prefix byte(s).final voidStringArraySerializer.serializeWithPrefix(String[] object, byte[] buffer, Pointer pointer, Endianness endianness) final voidStringMatrixSerializer.serializeWithPrefix(String[][] object, byte[] buffer, Pointer pointer, Endianness endianness) intintintintfinal intintCompute the number of bytes needed to serialize an object of type T (excluding the byte(s) that indicate that an object of type T is next in the data stream).final intArrayOrMatrixWithUnitSerializer.sizeWithPrefix(T object) final intBasicPrimitiveArrayOrMatrixSerializer.sizeWithPrefix(T object) final intObjectMatrixSerializer.sizeWithPrefix(E[][] matrix) final intObjectSerializer.sizeWithPrefix(T object) intSerializer.sizeWithPrefix(T object) Compute the number of bytes needed to serialize an object of type T (including the byte(s) that indicate that an object of type T is next in the data stream).final intStringArraySerializer.sizeWithPrefix(String[] object) final intStringMatrixSerializer.sizeWithPrefix(String[][] object)