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)

Since: API Level 1

Public Methods

public void append (int b)

Since: API Level 1

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

Since: API Level 1

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

Since: API Level 1

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

Since: API Level 1

public byte[] buffer ()

Since: API Level 1

public int byteAt (int i)

Since: API Level 1

public int capacity ()

Since: API Level 1

public void clear ()

Since: API Level 1

public boolean isEmpty ()

Since: API Level 1

public boolean isFull ()

Since: API Level 1

public int length ()

Since: API Level 1

public void setLength (int len)

Since: API Level 1

public byte[] toByteArray ()

Since: API Level 1