Package org.drasyl.node.handler.serialization
package org.drasyl.node.handler.serialization
Serialization of java objects to byte arrays and vice versa.
-
ClassDescriptionThis Serializer (de)serializes
Boolean
objects.This Serializer (de)serializes byte arrays (just returns the byte array unchanged/uncopied).This Serializer (de)serializesByte
objects.This Serializer (de)serializesCharacter
objects.This handler denies any (de)serialization and can be used to disable existing serializers.This Serializer (de)serializesDouble
objects.This Serializer (de)serializesFloat
objects.This Serializer (de)serializesInteger
objects.A serializer based on the Jackson Library for converting java objects to and from JSON.This Serializer (de)serializesSerializable
objects.This Serializer (de)serializesLong
objects.This handler serializes messages toByteBuf
and vice versa.This Serializer (de)serializesnull
only.This Serializer (de)serializesMessage
objects.Holds aMap
with all availableSerializer
s and the classes each serializer should be used for.This class models the serialized payload of a drasyl application message.A Serializer represents a bimap between an object and an array of bytes representing that object.This class contains some constants with the identifiers of default serializers.This Serializer (de)serializesInteger
objects.This Serializer (de)serializesString
objects.