/
Bytearray Functions(3.0)
Bytearray Functions(3.0)
The functions described in this section are used to perform operations on variables of the bytearray
type.
baAppend
Concatenates two bytearrays and returns the result. None of the input arrays are changed.
bytearray baAppend (bytearray array1, bytearray array2 )
Parameter | Description |
---|---|
| A bytearray |
| Another bytearray to append to the end of |
Returns | The concatenated bytearray |
baCreate
Creates a new bytearray of the specified size.
bytearray baCreate( int size )
Parameter | Description |
---|---|
| Size of the new array in bytes |
Returns | A bytearray of the specified size |
baCreateFromHexString
Converts a readable hex string into a bytearray.
bytearray baCreateFromHexString