Package | Description |
---|---|
com.devexperts.io |
Provides input/output utility classes.
|
Modifier and Type | Field and Description |
---|---|
static Marshalled<Object> |
Marshalled.NULL
The null object for default
SERIALIZATION marshaller. |
Modifier and Type | Method and Description |
---|---|
static Marshalled<Object> |
Marshalled.forBytes(byte[] bytes)
Returns marshalled object for a specified byte array assuming that
The result of this method is not
null . |
static <T> Marshalled<T> |
Marshalled.forBytes(byte[] bytes,
Marshaller<T> marshaller)
Returns marshalled object for a specified byte array and marshaller.
|
static <T> Marshalled<T> |
Marshalled.forBytes(byte[] bytes,
Marshaller<T> marshaller,
SerialClassContext serialContext)
Returns marshalled object for a specified byte array and marshaller.
|
static <T> Marshalled<T> |
Marshalled.forObject(T object)
Wraps object into marshalled with a
serialization marshaller. |
static <T> Marshalled<T> |
Marshalled.forObject(T object,
Marshaller<T> marshaller)
Wraps object into marshalled with a specified marshaller.
|
<T> Marshalled<T> |
BufferedInput.readMarshalled(Marshaller<T> marshaller)
Reads
Marshalled object from a byte stream with a specified marshaller. |
<T> Marshalled<T> |
BufferedInput.readMarshalled(Marshaller<T> marshaller,
SerialClassContext serialContext)
Reads
Marshalled object from a byte stream with a specified marshaller. |
Modifier and Type | Method and Description |
---|---|
void |
BufferedOutput.writeMarshalled(Marshalled<?> marshalled)
Writes a
Marshalled object to a byte stream. |
Copyright © 2002–2025 Devexperts LLC. All rights reserved.