Helper type for accessing vector of signed or unsigned 8-bit values.
More...
Helper type for accessing vector of signed or unsigned 8-bit values.
|
ByteVector | __assign (int vector, ByteBuffer bb) |
| Assigns vector access object to vector data. More...
|
|
byte | get (int j) |
| Reads the byte at the given index. More...
|
|
int | getAsUnsigned (int j) |
| Reads the byte at the given index, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255. More...
|
|
◆ __assign()
ByteVector com.google.flatbuffers.ByteVector.__assign |
( |
int |
vector, |
|
|
ByteBuffer |
bb |
|
) |
| |
|
inline |
Assigns vector access object to vector data.
- Parameters
-
vector | Start data of a vector. |
bb | Table's ByteBuffer. |
- Returns
- Returns current vector access object assigned to vector data whose offset is stored at
vector
.
◆ get()
byte com.google.flatbuffers.ByteVector.get |
( |
int |
j | ) |
|
|
inline |
Reads the byte at the given index.
- Parameters
-
j | The index from which the byte will be read. |
- Returns
- the 8-bit value at the given index.
◆ getAsUnsigned()
int com.google.flatbuffers.ByteVector.getAsUnsigned |
( |
int |
j | ) |
|
|
inline |
Reads the byte at the given index, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255.
- Parameters
-
j | The index from which the byte will be read. |
- Returns
- the unsigned 8-bit at the given index.
The documentation for this class was generated from the following file: