readBytes

suspend fun readBytes(assetPath: String): ByteBuffer

Loads a raw file into a ByteBuffer

Return

the raw byte buffer

Parameters

assetPath

the path to the file