The ByteView class.
More...
The ByteView class.
A byte view object is a proxy to a ByteArray object.
- Author
- Andreas Pehnack
- Date
- 2009-12-12
Get length of byte view.
- Author
- Andreas Pehnack
- Date
- 2011-09-01
- Returns
- Length of byte view
byte readByte |
( |
long |
position | ) |
|
Read byte from byte view (position in bytes)
- Author
- Andreas Pehnack
- Date
- 2009-12-12
- Parameters
-
[in] | position | Position where to read the byte |
- Returns
- Byte at position
- See also
- readSignedInt()
-
readUnsignedInt()
int readSignedInt |
( |
long |
position, |
|
|
int |
length, |
|
|
ENDIAN_TYPE |
endianType |
|
) |
| |
Read signed integer from byte view.
- Author
- Andreas Pehnack
- Date
- 2009-12-12
- Parameters
-
[in] | position | Position where to read the number |
[in] | length | Length of the number in bytes |
[in] | endianType | Little/big endian |
- Returns
- Signed int at position
- See also
- readByte()
-
readUnsignedInt()
String readString |
( |
long |
position, |
|
|
int |
length, |
|
|
String |
encoding |
|
) |
| |
Read string from byte view.
- Author
- Andreas Pehnack
- Date
- 2009-12-12
- Parameters
-
[in] | position | Position where to read the string |
[in] | length | Length of the string in bytes |
[in] | encoding | Encoding of the string |
- Returns
- String at position
- See also
- readByte()
-
readSignedInt()
-
readUnsignedInt()
uint readUnsignedInt |
( |
long |
position, |
|
|
int |
length, |
|
|
ENDIAN_TYPE |
endianType |
|
) |
| |
Read unsigned integer from byte view.
- Author
- Andreas Pehnack
- Date
- 2009-12-12
- Parameters
-
[in] | position | Position where to read the number |
[in] | length | Length of the number in bytes |
[in] | endianType | Little/big endian |
- Returns
- Unsigned int at position
- See also
- readByte()
-
readSignedInt()
The documentation for this class was generated from the following file:
- Generated/synalysis_wrap_lua.cpp