public class SerializedBytesSerializer
A serialiser that avoids writing the wrapper class to the byte stream, thus ensuring class SerializedBytes
is a pure
type safety hack.
class SerializedBytes
Modifier and Type | Field and Description |
---|---|
static SerializedBytesSerializer |
INSTANCE
A serialiser that avoids writing the wrapper class to the byte stream, thus ensuring
class SerializedBytes is a pure
type safety hack. |
Modifier and Type | Method and Description |
---|---|
SerializedBytes<java.lang.Object> |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
java.lang.Class<net.corda.core.serialization.SerializedBytes> type) |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
SerializedBytes<java.lang.Object> obj) |
public static SerializedBytesSerializer INSTANCE
A serialiser that avoids writing the wrapper class to the byte stream, thus ensuring class SerializedBytes
is a pure
type safety hack.
class SerializedBytes
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, SerializedBytes<java.lang.Object> obj)
public SerializedBytes<java.lang.Object> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<net.corda.core.serialization.SerializedBytes> type)