org.sapia.ubik.util
Class ByteVector.ByteArray

java.lang.Object
  extended by org.sapia.ubik.util.ByteVector.ByteArray
Enclosing class:
ByteVector

protected static class ByteVector.ByteArray
extends java.lang.Object


Field Summary
protected  byte[] _bytes
           
protected  int _limit
           
protected  int _pos
           
 
Constructor Summary
protected ByteVector.ByteArray(int capacity)
           
 
Method Summary
protected  int get(byte[] b, int offset, int len)
           
protected  int get(java.nio.ByteBuffer buf, int len)
           
protected  int get(java.io.OutputStream out)
           
protected  boolean put(byte b)
           
protected  int put(byte[] b, int offset, int len)
           
protected  int put(java.nio.ByteBuffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_pos

protected int _pos

_limit

protected int _limit

_bytes

protected byte[] _bytes
Constructor Detail

ByteVector.ByteArray

protected ByteVector.ByteArray(int capacity)
Method Detail

put

protected boolean put(byte b)

put

protected int put(byte[] b,
                  int offset,
                  int len)

put

protected int put(java.nio.ByteBuffer buf)

get

protected int get(byte[] b,
                  int offset,
                  int len)

get

protected int get(java.nio.ByteBuffer buf,
                  int len)

get

protected int get(java.io.OutputStream out)
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010 Sapia OSS. All Rights Reserved.