org.apache.yoko.rmi.util
Class ByteBuffer

java.lang.Object
  extended by org.apache.yoko.rmi.util.ByteBuffer

public class ByteBuffer
extends Object


Constructor Summary
ByteBuffer()
           
ByteBuffer(int size)
           
 
Method Summary
 void append(byte b)
           
 void append(byte[] b)
           
 void append(byte[] b, int off, int len)
           
 void append(ByteString b)
           
 void append(char c)
           
 void append(int v)
           
 void append(int v, int radix)
           
 void append(String value)
           
 byte[] getContents()
           
 byte[] toByteArray()
           
 ByteString toByteString()
           
 String toString()
           
 void writeTo(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteBuffer

public ByteBuffer(int size)

ByteBuffer

public ByteBuffer()
Method Detail

append

public void append(byte b)

append

public void append(char c)

append

public void append(int v,
                   int radix)

append

public void append(int v)

append

public void append(String value)

append

public void append(byte[] b)

append

public void append(ByteString b)

append

public void append(byte[] b,
                   int off,
                   int len)

toByteArray

public byte[] toByteArray()

toByteString

public ByteString toByteString()

toString

public String toString()
Overrides:
toString in class Object

writeTo

public void writeTo(OutputStream out)
             throws IOException
Throws:
IOException

getContents

public byte[] getContents()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.