com.google.zxing.common
Class ByteArray
java.lang.Object
com.google.zxing.common.ByteArray
public final class ByteArray
- extends Object
This class implements an array of unsigned bytes.
- Since:
- BlackBerry API 6.0.0
Method Summary |
void |
appendByte(int value)
|
int |
at(int index)
Access an unsigned byte at location index. |
boolean |
isEmpty()
|
void |
reserve(int capacity)
|
void |
set(byte[] source,
int offset,
int count)
|
void |
set(int index,
int value)
|
int |
size()
|
ByteArray
public ByteArray()
- Since:
- BlackBerry API 6.0.0
ByteArray
public ByteArray(int size)
- Since:
- BlackBerry API 6.0.0
ByteArray
public ByteArray(byte[] byteArray)
- Since:
- BlackBerry API 6.0.0
at
public int at(int index)
- Access an unsigned byte at location index.
- Parameters:
index
- The index in the array to access.
- Returns:
- The unsigned value of the byte as an int.
- Since:
- BlackBerry API 6.0.0
set
public void set(int index,
int value)
- Since:
- BlackBerry API 6.0.0
size
public int size()
- Since:
- BlackBerry API 6.0.0
isEmpty
public boolean isEmpty()
- Since:
- BlackBerry API 6.0.0
appendByte
public void appendByte(int value)
- Since:
- BlackBerry API 6.0.0
reserve
public void reserve(int capacity)
- Since:
- BlackBerry API 6.0.0
set
public void set(byte[] source,
int offset,
int count)
- Since:
- BlackBerry API 6.0.0
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal