Constructor

new ()

Variables

read onlywrite onlylength:Int

The length of the stream in bytes.

Methods

getBytes ():Bytes

Returns the Bytes of this output.

This function should not be called more than once on a given BytesOutput instance.

Inherited Variables

Defined by Output

read onlybigEndian:Bool

Endianness (word byte order) used when writing numbers.

If true, big-endian is used, otherwise little-endian is used.

Inherited Methods

Defined by Output

write (s:Bytes):Void

Write all bytes stored in s.

writeFloat (x:Float):Void

Write x as 32-bit floating point number.

Endianness is specified by the bigEndian property.

writeInt32 (x:Int):Void

Write x as 32-bit signed integer.

Endianness is specified by the bigEndian property.