org.apache.http.util
Class ByteArrayBuffer
java.lang.Object
org.apache.http.util.ByteArrayBuffer
- public final class ByteArrayBuffer
- extends java.lang.Object
A resizable byte array.
- Since:
- 4.0
- Version:
- $Revision: 496070 $
- Author:
- Oleg Kalnichevski
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayBuffer
public ByteArrayBuffer(int capacity)
append
public void append(byte[] b,
int off,
int len)
append
public void append(int b)
append
public void append(char[] b,
int off,
int len)
append
public void append(CharArrayBuffer b,
int off,
int len)
clear
public void clear()
toByteArray
public byte[] toByteArray()
byteAt
public int byteAt(int i)
capacity
public int capacity()
length
public int length()
buffer
public byte[] buffer()
setLength
public void setLength(int len)
isEmpty
public boolean isEmpty()
isFull
public boolean isFull()
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.