Linked-list of native chunks. Grows dynamically as needed.

Constructor

@:value({ chunkSize : 4096 })new(chunkSize:Int = 4096)

Variables

read onlyavailable:Int

read onlycapacity:Int

read onlyfreeSpace:Int

Methods

asInput():Input

Returns a Haxe Input wrapper.

asOutput():Output

Returns a Haxe Output wrapper.

clear():Void

destroy():Void

@:has_untypedpeekBytes(bytes:Bytes, offset:Int, len:Int):Int

@:has_untypedreadBytes(bytes:Bytes, offset:Int, len:Int):Int

skip(len:Int):Int

@:has_untypedwriteBytes(bytes:Bytes, offset:Int, len:Int):Int