haXe API Documentation
Back |
Indexclass haxe.io.Output
Available in flash, neko, js, flash9, php, cpp
An Output is an abstract write. A specific output implementation will only
have to override the writeChar
and maybe the write
, flush
and close
methods. See File.write
and String.write
for two ways of creating an
Output.
- var bigEndian(default,setEndian) : Bool
- function close() : Void
- function flush() : Void
- function prepare(nbytes : Int) : Void
-
Inform that we are about to write at least a specified number of bytes.
The underlying implementation can allocate proper working space depending
on this information, or simply ignore it. This is not a mandatory call
but a tip and is only used in some specific cases.
- function write(s : Bytes) : Void
- function writeByte(c : Int) : Void
- function writeBytes(s : Bytes, pos : Int, len : Int) : Int
- function writeDouble(x : Float) : Void
- function writeFloat(x : Float) : Void
- function writeFullBytes(s : Bytes, pos : Int, len : Int) : Void
- function writeInput(i : Input, ?bufsize : Int) : Void
- function writeInt16(x : Int) : Void
- function writeInt24(x : Int) : Void
- function writeInt31(x : Int) : Void
- function writeInt32(x : haxe.Int32) : Void
- function writeInt8(x : Int) : Void
- function writeString(s : String) : Void
- function writeUInt16(x : Int) : Void
- function writeUInt24(x : Int) : Void
- function writeUInt30(x : Int) : Void
Back |
Index