com.hazelcast.nio
Interface BufferObjectDataOutput

All Superinterfaces:
Closeable, DataOutput, ObjectDataOutput

public interface BufferObjectDataOutput
extends ObjectDataOutput, Closeable


Field Summary
static int UTF_BUFFER_SIZE
           
 
Method Summary
 void clear()
           
 int position()
           
 void position(int newPos)
           
 void write(int position, int b)
           
 void writeBoolean(int position, boolean v)
           
 void writeByte(int position, int v)
           
 void writeChar(int position, int v)
           
 void writeDouble(int position, double v)
           
 void writeFloat(int position, float v)
           
 void writeInt(int position, int v)
           
 void writeLong(int position, long v)
           
 void writeShort(int position, int v)
           
 void writeZeroBytes(int count)
           
 
Methods inherited from interface com.hazelcast.nio.ObjectDataOutput
getByteOrder, toByteArray, writeByteArray, writeCharArray, writeData, writeDoubleArray, writeFloatArray, writeIntArray, writeLongArray, writeObject, writeShortArray
 
Methods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 
Methods inherited from interface java.io.Closeable
close
 

Field Detail

UTF_BUFFER_SIZE

static final int UTF_BUFFER_SIZE
See Also:
Constant Field Values
Method Detail

write

void write(int position,
           int b)

writeInt

void writeInt(int position,
              int v)
              throws IOException
Throws:
IOException

writeLong

void writeLong(int position,
               long v)
               throws IOException
Throws:
IOException

writeBoolean

void writeBoolean(int position,
                  boolean v)
                  throws IOException
Throws:
IOException

writeByte

void writeByte(int position,
               int v)
               throws IOException
Throws:
IOException

writeZeroBytes

void writeZeroBytes(int count)

writeChar

void writeChar(int position,
               int v)
               throws IOException
Throws:
IOException

writeDouble

void writeDouble(int position,
                 double v)
                 throws IOException
Throws:
IOException

writeFloat

void writeFloat(int position,
                float v)
                throws IOException
Throws:
IOException

writeShort

void writeShort(int position,
                int v)
                throws IOException
Throws:
IOException

position

int position()

position

void position(int newPos)

clear

void clear()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.