toByteArray

fun ByteBuffer.toByteArray(): ByteArray

Returns a buffer of Byte containing all of the elements of this primitive buffer.

Sources

(source)
Link copied to clipboard