Package | Description |
---|---|
com.devexperts.io |
Provides input/output utility classes.
|
Modifier and Type | Class and Description |
---|---|
static class |
Marshaller.Typed<T>
Typed marshaller that marshals instances of a single type or an array of types.
|
Modifier and Type | Field and Description |
---|---|
static Marshaller<Object> |
Marshaller.SERIALIZATION
Converts object to/from bytes using Java Object Serialization.
|
Modifier and Type | Method and Description |
---|---|
Marshaller<T> |
Marshalled.getMarshaller()
Returns a strategy that defines how an object is represented in a byte array.
|
static Marshaller<Object> |
Marshaller.serialization()
Returns marshaller that converts object to/from bytes using Java Object Serialization.
|
static <T> Marshaller<T> |
Marshaller.serialization(Class<T> clazz)
Returns marshaller that converts object to/from bytes using Java Object Serialization.
|
Modifier and Type | Method and Description |
---|---|
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,
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. |
Copyright © 2002–2025 Devexperts LLC. All rights reserved.