FlatBuffers
An open source project by FPL.
com.google.flatbuffers.IntVector Class Reference

Helper type for accessing vector of signed or unsigned 32-bit values. More...

Inheritance diagram for com.google.flatbuffers.IntVector:

Detailed Description

Helper type for accessing vector of signed or unsigned 32-bit values.

Public Member Functions

IntVector __assign (int _vector, ByteBuffer _bb)
 Assigns vector access object to vector data. More...
 
int get (int j)
 Reads the integer at the given index. More...
 
long getAsUnsigned (int j)
 Reads the integer at the given index, zero-extends it to type long, and returns the result, which is therefore in the range 0 through 4294967295. More...
 

Member Function Documentation

◆ __assign()

IntVector com.google.flatbuffers.IntVector.__assign ( int  _vector,
ByteBuffer  _bb 
)
inline

Assigns vector access object to vector data.

Parameters
_vectorStart data of a vector.
_bbTable's ByteBuffer.
Returns
Returns current vector access object assigned to vector data whose offset is stored at vector.

◆ get()

int com.google.flatbuffers.IntVector.get ( int  j)
inline

Reads the integer at the given index.

Parameters
jThe index from which the integer will be read.
Returns
the 32-bit value at the given index.

◆ getAsUnsigned()

long com.google.flatbuffers.IntVector.getAsUnsigned ( int  j)
inline

Reads the integer at the given index, zero-extends it to type long, and returns the result, which is therefore in the range 0 through 4294967295.

Parameters
jThe index from which the integer will be read.
Returns
the unsigned 32-bit at the given index.

The documentation for this class was generated from the following file: