Package-level declarations

Functions

Link copied to clipboard

Analogous to StringBuilder but for ByteArray. Allows to append values to end calling toByteArray. Provides some methods like s16LE or f32BE to append specific bit representations easily.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ByteArray.getF16(offset: Int, littleEndian: Boolean): Half
Link copied to clipboard
fun ByteArray.getF16BE(offset: Int): Half
Link copied to clipboard
fun ByteArray.getF16LE(offset: Int): Half
Link copied to clipboard
fun ByteArray.readF16(o: Int, little: Boolean): Half
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ByteArray.setF16(offset: Int, value: Half, littleEndian: Boolean)
Link copied to clipboard
fun ByteArray.setF16BE(offset: Int, value: Half)
Link copied to clipboard
fun ByteArray.setF16LE(offset: Int, value: Half)
Link copied to clipboard
fun ByteArray.writeF16(o: Int, v: Half, little: Boolean)
Link copied to clipboard
Link copied to clipboard