haXe API Documentation
Back |
Indexclass neko.io.Output
Available in neko
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.
- 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 : String) : Void
- function writeBytes(s : String, p : Int, len : Int) : Int
- function writeChar(c : Int) : Void
- function writeDouble(c : Float) : Void
- function writeDoubleB(c : Float) : Void
- function writeFloat(c : Float) : Void
- function writeFloatB(c : Float) : Void
- function writeFullBytes(s : String, pos : Int, len : Int) : Void
- function writeInput(i : Input, ?bufsize : Int) : Void
- function writeInt16(x : Int) : Void
- function writeInt24(x : Int) : Void
- function writeInt32(x : Int) : Void
- function writeInt8(c : Int) : Void
- function writeUInt16(x : Int) : Void
- function writeUInt16B(x : Int) : Void
- function writeUInt24(x : Int) : Void
- function writeUInt24B(x : Int) : Void
- function writeUInt32(x : Int) : Void
- function writeUInt32B(x : Int) : Void
Back |
Index