readByteString

fun COpaquePointer.readByteString(count: Int): ByteString

Copy count bytes from the memory at this pointer into a ByteString.