org.msgpack.io
Interface Output

All Superinterfaces:
Closeable, Flushable
All Known Implementing Classes:
ByteBufferOutput, LinkedBufferOutput, StreamOutput

public interface Output
extends Closeable, Flushable


Method Summary
 void write(byte[] b, int off, int len)
           
 void write(ByteBuffer bb)
           
 void writeByte(byte v)
           
 void writeByteAndByte(byte b, byte v)
           
 void writeByteAndDouble(byte b, double v)
           
 void writeByteAndFloat(byte b, float v)
           
 void writeByteAndInt(byte b, int v)
           
 void writeByteAndLong(byte b, long v)
           
 void writeByteAndShort(byte b, short v)
           
 void writeDouble(double v)
           
 void writeFloat(float v)
           
 void writeInt(int v)
           
 void writeLong(long v)
           
 void writeShort(short v)
           
 
Methods inherited from interface java.io.Closeable
close
 
Methods inherited from interface java.io.Flushable
flush
 

Method Detail

write

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

write

void write(ByteBuffer bb)
           throws IOException
Throws:
IOException

writeByte

void writeByte(byte v)
               throws IOException
Throws:
IOException

writeShort

void writeShort(short v)
                throws IOException
Throws:
IOException

writeInt

void writeInt(int v)
              throws IOException
Throws:
IOException

writeLong

void writeLong(long v)
               throws IOException
Throws:
IOException

writeFloat

void writeFloat(float v)
                throws IOException
Throws:
IOException

writeDouble

void writeDouble(double v)
                 throws IOException
Throws:
IOException

writeByteAndByte

void writeByteAndByte(byte b,
                      byte v)
                      throws IOException
Throws:
IOException

writeByteAndShort

void writeByteAndShort(byte b,
                       short v)
                       throws IOException
Throws:
IOException

writeByteAndInt

void writeByteAndInt(byte b,
                     int v)
                     throws IOException
Throws:
IOException

writeByteAndLong

void writeByteAndLong(byte b,
                      long v)
                      throws IOException
Throws:
IOException

writeByteAndFloat

void writeByteAndFloat(byte b,
                       float v)
                       throws IOException
Throws:
IOException

writeByteAndDouble

void writeByteAndDouble(byte b,
                        double v)
                        throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.