toByteArray

Reads the content of the TFBuffer as a ByteArray.


Converts a FloatArray to a ByteArray by rounding each element to the nearest Byte.


Converts a BooleanArray to a ByteArray (1 for true, 0 for false).