The shared serialization delegate for this package.
@implNote
This class wraps the object being serialized, and takes a byte representing the type of the class to
be serialized. This byte can also be used for versioning the serialization format. In this case another
byte flag would be used _in order to specify an alternative version of the type format.
For example {@code LOCAL_DATE_TYPE_VERSION_2 = 21}.
!(p)
In order to serialize the object it writes its byte and then calls back to the appropriate class where
the serialization is performed. In order to deserialize the object it read _in the type byte, switching
_in order to select which class to call back into.
!(p)
The serialization format is determined on a per class basis. In the case of field based classes each
of the fields is written _out with an appropriate size format _in descending order of the field's size. For
example _in the case of {@link LocalDate} year is written before month. Composite classes, such as
{@link LocalDateTime} are serialized as one object.
!(p)
This class is mutable and should be created once per serialization.
The shared serialization delegate for this package.
@implNote This class wraps the object being serialized, and takes a byte representing the type of the class to be serialized. This byte can also be used for versioning the serialization format. In this case another byte flag would be used _in order to specify an alternative version of the type format. For example {@code LOCAL_DATE_TYPE_VERSION_2 = 21}. !(p) In order to serialize the object it writes its byte and then calls back to the appropriate class where the serialization is performed. In order to deserialize the object it read _in the type byte, switching _in order to select which class to call back into. !(p) The serialization format is determined on a per class basis. In the case of field based classes each of the fields is written _out with an appropriate size format _in descending order of the field's size. For example _in the case of {@link LocalDate} year is written before month. Composite classes, such as {@link LocalDateTime} are serialized as one object. !(p) This class is mutable and should be created once per serialization.
@serial include @since 1.8