public interface ObjectDataOutput extends DataOutput, VersionAware
Modifier and Type | Method and Description |
---|---|
ByteOrder |
getByteOrder() |
byte[] |
toByteArray() |
byte[] |
toByteArray(int padding) |
void |
writeBooleanArray(boolean[] booleans) |
void |
writeByteArray(byte[] bytes) |
void |
writeCharArray(char[] chars) |
void |
writeData(Data data) |
void |
writeDoubleArray(double[] values) |
void |
writeFloatArray(float[] values) |
void |
writeIntArray(int[] ints) |
void |
writeLongArray(long[] longs) |
void |
writeObject(Object object) |
void |
writeShortArray(short[] values) |
void |
writeUTFArray(String[] values) |
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
getVersion
void writeByteArray(byte[] bytes) throws IOException
bytes
- byte array to be writtenIOException
void writeBooleanArray(boolean[] booleans) throws IOException
booleans
- boolean array to be writtenIOException
void writeCharArray(char[] chars) throws IOException
chars
- char array to be writtenIOException
void writeIntArray(int[] ints) throws IOException
ints
- int array to be writtenIOException
void writeLongArray(long[] longs) throws IOException
longs
- long array to be writtenIOException
void writeDoubleArray(double[] values) throws IOException
values
- double array to be writtenIOException
void writeFloatArray(float[] values) throws IOException
values
- float array to be writtenIOException
void writeShortArray(short[] values) throws IOException
values
- short array to be writtenIOException
void writeUTFArray(String[] values) throws IOException
values
- String array to be writtenIOException
void writeObject(Object object) throws IOException
object
- object to be writtenIOException
void writeData(Data data) throws IOException
data
- data to be writtenIOException
byte[] toByteArray()
byte[] toByteArray(int padding)
padding
- padding bytes at the beginning of the byte-array.ByteOrder getByteOrder()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.