hxn

Buffer

Memory the CPU maps for as long as the buffer lives.

Static methods

function hxnAdopt(hxnRaw:Handle):Buffer

An object for a value the library returned.

Properties

var hxnRaw:Handle

Methods

function size():Int64
function write(offset:Int64, bytes:Bytes):Void

Copies bytes into the buffer at offset.

function read(offset:Int64, length:Int64):Bytes

length bytes from offset.

function close():Void

Releases the native value now. The collector does it otherwise. Using this object afterwards throws.