toByteString

fun <Error class: unknown class>.toByteString(): ByteString(source)

Creates a new ByteString containing the data copied from this NSData.

fun ArrayBuffer.toByteString(): ByteString(source)

Creates a new ByteString containing the data copied from this ArrayBuffer.