public final class

ByteArrayBuffer

extends Object
java.lang.Object
   ↳ org.apache.http.util.ByteArrayBuffer

Class Overview

A resizable byte array.

Summary

Public Constructors
ByteArrayBuffer(int capacity)
Public Methods
void append(char[] b, int off, int len)
void append(int b)
void append(CharArrayBuffer b, int off, int len)
void append(byte[] b, int off, int len)
byte[] buffer()
int byteAt(int i)
int capacity()
void clear()
boolean isEmpty()
boolean isFull()
int length()
void setLength(int len)
byte[] toByteArray()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ByteArrayBuffer (int capacity)

Public Methods

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

public void append (int b)

public void append (CharArrayBuffer b, int off, int len)

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

public byte[] buffer ()

public int byteAt (int i)

public int capacity ()

public void clear ()

public boolean isEmpty ()

public boolean isFull ()

public int length ()

public void setLength (int len)

public byte[] toByteArray ()