public interface ObjectDataOutput extends DataOutput, VersionAware, WanProtocolVersionAware
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 |
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, setVersion
getWanProtocolVersion, setWanProtocolVersion
void writeByteArray(byte[] bytes) throws IOException
bytes
- byte array to be writtenIOException
- in case of any exceptional casevoid writeBooleanArray(boolean[] booleans) throws IOException
booleans
- boolean array to be writtenIOException
- in case of any exceptional casevoid writeCharArray(char[] chars) throws IOException
chars
- char array to be writtenIOException
- in case of any exceptional casevoid writeIntArray(int[] ints) throws IOException
ints
- int array to be writtenIOException
- in case of any exceptional casevoid writeLongArray(long[] longs) throws IOException
longs
- long array to be writtenIOException
- in case of any exceptional casevoid writeDoubleArray(double[] values) throws IOException
values
- double array to be writtenIOException
- in case of any exceptional casevoid writeFloatArray(float[] values) throws IOException
values
- float array to be writtenIOException
- in case of any exceptional casevoid writeShortArray(short[] values) throws IOException
values
- short array to be writtenIOException
- in case of any exceptional casevoid writeUTFArray(String[] values) throws IOException
values
- String array to be writtenIOException
- in case of any exceptional casevoid writeObject(Object object) throws IOException
object
- object to be writtenIOException
- in case of any exceptional casebyte[] toByteArray()
byte[] toByteArray(int padding)
padding
- padding bytes at the beginning of the byte-array.ByteOrder getByteOrder()
Copyright © 2022 Hazelcast, Inc.. All rights reserved.