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.serialization

    Modifier and Type
    Method
    Description
    (package private) 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(byte[] buffer, Map<Byte,Serializer<?>> decoderMap, EndianUtil endianUtil)
    Decode the message into an object array.
    static Object[]
    TypedMessage.decodeToObjectDataTypes(byte[] buffer, EndianUtil endianUtil)
    Decode the message into an object array, constructing Java Object arrays and matrices where possible.
    static Object[]
    TypedMessage.decodeToPrimitiveDataTypes(byte[] buffer, EndianUtil endianUtil)
    Decode the message into an object array, constructing Java Primitive data arrays and matrices where possible.
    EndianUtil.decodeUTF8String(byte[] message, int pointer)
    Decode a String including the length int from the message byte array.
    static byte[]
    TypedMessage.encodeUTF16(EndianUtil endianUtil, Object... content)
    Encode the object array into a byte[] message.
    static byte[]
    TypedMessage.encodeUTF8(EndianUtil endianUtil, Object... content)
    Encode the object array into a byte[] message.
    (package private) static Serializer<?>
    TypedMessage.findEncoder(boolean utf8, Object object)
    Find the serializer for one object.
  • Uses of SerializationException in org.djutils.serialization.serializers

    Modifier and Type
    Method
    Description
    DoubleMatrixSerializer.deSerialize(byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Deserialize an object of type T.
    DoubleScalarSerializer.deSerialize(byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Deserialize an object of type T.
    V[]
    DoubleVectorArraySerializer.deSerialize(byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Deserialize an object of type T.
    DoubleVectorSerializer.deSerialize(byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Deserialize an object of type T.
    FloatMatrixSerializer.deSerialize(byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Deserialize an object of type T.
    FloatScalarSerializer.deSerialize(byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Deserialize an object of type T.
    FloatVectorSerializer.deSerialize(byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Deserialize an object of type T.
    Serializer.deSerialize(byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Deserialize an object of type T.
    void
    DoubleMatrixSerializer.serialize(M adm, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Serialize an object of type T; not including the prefix byte(s).
    void
    DoubleScalarSerializer.serialize(S ads, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Serialize an object of type T; not including the prefix byte(s).
    void
    DoubleVectorArraySerializer.serialize(V[] adva, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Serialize an object of type T; not including the prefix byte(s).
    void
    DoubleVectorSerializer.serialize(V adv, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Serialize an object of type T; not including the prefix byte(s).
    void
    FloatMatrixSerializer.serialize(M afm, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Serialize an object of type T; not including the prefix byte(s).
    void
    FloatScalarSerializer.serialize(S afs, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Serialize an object of type T; not including the prefix byte(s).
    void
    FloatVectorSerializer.serialize(V afv, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Serialize an object of type T; not including the prefix byte(s).
    final void
    ObjectMatrixSerializer.serialize(E[][] matrix, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
     
    void
    Serializer.serialize(T object, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Serialize an object of type T; not including the prefix byte(s).
    final void
    ArrayOrMatrixWithUnitSerializer.serializeWithPrefix(T object, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
     
    final void
    BasicPrimitiveArrayOrMatrixSerializer.serializeWithPrefix(T object, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
     
    final void
    ObjectArraySerializer.serializeWithPrefix(E[] array, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
     
    final void
    ObjectMatrixSerializer.serializeWithPrefix(E[][] matrix, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
     
    final void
    ObjectSerializer.serializeWithPrefix(T object, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
     
    void
    Serializer.serializeWithPrefix(T object, byte[] buffer, Pointer pointer, EndianUtil endianUtil)
    Serialize an object of type T including the prefix byte(s).
    int
    DoubleMatrixSerializer.size(M adm)
    Compute 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).
    int
    DoubleScalarSerializer.size(S ads)
    Compute 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).
    int
    DoubleVectorArraySerializer.size(V[] adva)
    Compute 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).
    int
    DoubleVectorSerializer.size(V adv)
    Compute 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).
    int
    FloatMatrixSerializer.size(M afm)
    Compute 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).
    int
    FloatScalarSerializer.size(S afs)
    Compute 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).
    int
    FloatVectorSerializer.size(V afv)
    Compute 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 int
    ObjectMatrixSerializer.size(E[][] matrix)
     
    int
    Serializer.size(T object)
    Compute 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 int
    ArrayOrMatrixWithUnitSerializer.sizeWithPrefix(T object)
     
    final int
    BasicPrimitiveArrayOrMatrixSerializer.sizeWithPrefix(T object)
     
    final int
    ObjectMatrixSerializer.sizeWithPrefix(E[][] matrix)
     
    final int
    ObjectSerializer.sizeWithPrefix(T object)
     
    int
    Serializer.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).