Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
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 (int b)
void append (char[] b, int off, int len)
void append (byte[] b, int off, int len)
void append ( CharArrayBuffer 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)

Added in API level 1

Public Methods

public void append (int b)

Added in API level 1

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

Added in API level 1

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

Added in API level 1

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

Added in API level 1

public byte[] buffer ()

Added in API level 1

public int byteAt (int i)

Added in API level 1

public int capacity ()

Added in API level 1

public void clear ()

Added in API level 1

public boolean isEmpty ()

Added in API level 1

public boolean isFull ()

Added in API level 1

public int length ()

Added in API level 1

public void setLength (int len)

Added in API level 1

public byte[] toByteArray ()

Added in API level 1