The ByteArray class.
More...
|
long | getLength () |
| get length More...
|
|
| deleteRange (long position, long length) |
| Delete range in byte array. More...
|
|
| fillRange (long position, long length, byte[] fillBytes) |
| Fill range in byte array. More...
|
|
| writeSignedInt (long position, long length, ENDIAN_TYPE endianType) |
| Write signed integer to byte array. More...
|
|
| writeSignedIntBits (long position, long length, ENDIAN_TYPE endianType) |
| Write signed integer to byte array (on bit level) More...
|
|
| writeUnsignedInt (long position, long length, ENDIAN_TYPE endianType) |
| Write unsigned integer to byte array. More...
|
|
| writeUnsignedIntBits (long position, long length, ENDIAN_TYPE endianType) |
| Write unsigned integer to byte array (on bit level) More...
|
|
| insertByte (long position, char byte) |
| Insert byte into byte array. More...
|
|
| replaceByte (long position, char byte) |
| Replace byte in byte array. More...
|
|
The ByteArray class.
A byte array object represents mostly a larger memory chunk. The actual storage is handled by ByteStorage objects.
- Author
- Andreas Pehnack
- Date
- 2009-12-10
deleteRange |
( |
long |
position, |
|
|
long |
length |
|
) |
| |
Delete range in byte array.
- Author
- Andreas Pehnack
- Date
- 2010-09-03
- Parameters
-
[in] | position | Position where to delete |
[in] | length | Number of bytes to delete |
- See Also
- insertByte()
fillRange |
( |
long |
position, |
|
|
long |
length, |
|
|
byte[] |
fillBytes |
|
) |
| |
Fill range in byte array.
- Author
- Andreas Pehnack
- Date
- 2010-09-03
- Parameters
-
[in] | position | Position where to delete |
[in] | length | Number of bytes to delete |
[in] | fillBytes | An array of bytes to fill in range |
- See Also
- insertByte()
get length
- Author
- Andreas Pehnack
- Date
- 2009-12-12
- Returns
- The length of the byte array
insertByte |
( |
long |
position, |
|
|
char |
byte |
|
) |
| |
Insert byte into byte array.
- Author
- Andreas Pehnack
- Date
- 2010-09-03
- Parameters
-
[in] | position | Position where to insert |
[in] | byte | The byte to insert |
- See Also
- deleteRange()
replaceByte |
( |
long |
position, |
|
|
char |
byte |
|
) |
| |
Replace byte in byte array.
- Author
- Andreas Pehnack
- Date
- 2010-09-03
- Parameters
-
[in] | position | Position where to replace |
[in] | byte | The byte to replace |
- See Also
- deleteRange()
-
insertByte()
writeSignedInt |
( |
long |
position, |
|
|
long |
length, |
|
|
ENDIAN_TYPE |
endianType |
|
) |
| |
Write signed integer to byte array.
- Author
- Andreas Pehnack
- Date
- 2012-06-10
- Parameters
-
[in] | position | Position where to write (bytes) |
[in] | length | Number of bytes to write |
[in] | endianType | Endianness of number to write |
- See Also
- insertByte()
writeSignedIntBits |
( |
long |
position, |
|
|
long |
length, |
|
|
ENDIAN_TYPE |
endianType |
|
) |
| |
Write signed integer to byte array (on bit level)
- Author
- Andreas Pehnack
- Date
- 2012-06-10
- Parameters
-
[in] | position | Position where to write (bits) |
[in] | length | Number of bits to write |
[in] | endianType | Endianness of number to write |
- See Also
- insertByte()
writeUnsignedInt |
( |
long |
position, |
|
|
long |
length, |
|
|
ENDIAN_TYPE |
endianType |
|
) |
| |
Write unsigned integer to byte array.
- Author
- Andreas Pehnack
- Date
- 2012-06-10
- Parameters
-
[in] | position | Position where to write |
[in] | length | Number of bytes to write |
[in] | endianType | Endianness of number to write |
- See Also
- insertByte()
writeUnsignedIntBits |
( |
long |
position, |
|
|
long |
length, |
|
|
ENDIAN_TYPE |
endianType |
|
) |
| |
Write unsigned integer to byte array (on bit level)
- Author
- Andreas Pehnack
- Date
- 2012-06-10
- Parameters
-
[in] | position | Position where to write (bits) |
[in] | length | Number of bits to write |
[in] | endianType | Endianness of number to write |
- See Also
- insertByte()
The documentation for this class was generated from the following file:
- Generated/synalysis_wrap_lua.c