to top
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