public interface SerializationAdapter<T>
| Modifier and Type | Method and Description |
|---|---|
void |
writeBoolean(T target,
boolean value) |
void |
writeByte(T target,
byte value) |
void |
writeInt(T target,
int value) |
void |
writeLong(T target,
long value) |
void |
writeLongArray(T target,
long[] value) |
void |
writeObject(T target,
Object value) |
void |
writeString(T target,
String value) |
void writeBoolean(T target, boolean value) throws IOException
IOExceptionvoid writeByte(T target, byte value) throws IOException
IOExceptionvoid writeInt(T target, int value) throws IOException
IOExceptionvoid writeLong(T target, long value) throws IOException
IOExceptionvoid writeLongArray(T target, long[] value) throws IOException
IOExceptionvoid writeObject(T target, Object value) throws IOException
IOExceptionvoid writeString(T target, String value) throws IOException
IOExceptionCopyright © 2021. All rights reserved.