com.github.rs3vans.krypto / java.nio.ByteBuffer

Extensions for java.nio.ByteBuffer

toBytes fun ByteBuffer.toBytes(): Bytes

Extension function that converts a ByteBuffer to an instance of Bytes.