class haxe.io.BytesOutput extends Output

Available on all platforms

Instance Fields

var length:Int

The length of the stream in bytes.

function new():Void

function getBytes():Bytes

function prepare(size:Int):Void

Available on flash

function writeByte(c:Int):Void

function writeBytes(buf:Bytes, pos:Int, len:Int):Int

function writeDouble(f:Float):Void

Available on flash

function writeFloat(f:Float):Void

Available on flash

function writeInt16(x:Int):Void

Available on flash

function writeInt32(x:Int):Void

Available on flash

function writeInt8(x:Int):Void

Available on flash

function writeString(s:String):Void

Available on flash

function writeUInt16(x:Int):Void

Available on flash