rice.p2p.commonapi.rawserialization
Interface OutputBuffer

All Known Subinterfaces:
SizeCheckOutputBuffer
All Known Implementing Classes:
DirectSizeChecker, FileOutputBuffer, RandomAccessFileIOBuffer, SimpleOutputBuffer, SizeChecker

public interface OutputBuffer


Method Summary
 int bytesRemaining()
           
 void write(byte[] b, int off, int len)
           
 void writeBoolean(boolean v)
           
 void writeByte(byte v)
           
 void writeChar(char v)
           
 void writeDouble(double v)
           
 void writeFloat(float v)
           
 void writeInt(int v)
           
 void writeLong(long v)
           
 void writeShort(short v)
           
 void writeUTF(String str)
           
 

Method Detail

write

void write(byte[] b,
           int off,
           int len)
           throws IOException
Throws:
IOException

writeBoolean

void writeBoolean(boolean v)
                  throws IOException
Throws:
IOException

writeByte

void writeByte(byte v)
               throws IOException
Throws:
IOException

writeChar

void writeChar(char v)
               throws IOException
Throws:
IOException

writeDouble

void writeDouble(double v)
                 throws IOException
Throws:
IOException

writeFloat

void writeFloat(float v)
                throws IOException
Throws:
IOException

writeInt

void writeInt(int v)
              throws IOException
Throws:
IOException

writeLong

void writeLong(long v)
               throws IOException
Throws:
IOException

writeShort

void writeShort(short v)
                throws IOException
Throws:
IOException

writeUTF

void writeUTF(String str)
              throws IOException
Throws:
IOException

bytesRemaining

int bytesRemaining()


Copyright © 2010. All Rights Reserved.