Use sys.io.File.write to create a FileOutput.
Methods
Inherited Variables
Defined by Output
Inherited Methods
Defined by Output
@:has_untypedwriteBytes(s:Bytes, pos:Int, len:Int):Int
Write len bytes from s starting by position specified by pos.
Returns the actual length of written data that can differ from len.
See writeFullBytes that tries to write the exact amount of specified bytes.
writeDouble(x:Float):Void
Write x as 64-bit double-precision floating point number.
Endianness is specified by the bigEndian property.
writeFloat(x:Float):Void
Write x as 32-bit floating point number.
Endianness is specified by the bigEndian property.
writeFullBytes(s:Bytes, pos:Int, len:Int):Void
Write len bytes from s starting by position specified by pos.
Unlike writeBytes, this method tries to write the exact len amount of bytes.
writeInt32(x:Int):Void
Write x as 32-bit signed integer.
Endianness is specified by the bigEndian property.
writeUInt16(x:Int):Void
Write x as 16-bit unsigned integer.
Endianness is specified by the bigEndian property.
writeUInt24(x:Int):Void
Write x as 24-bit unsigned integer.
Endianness is specified by the bigEndian property.