Input

class haxe.io.InputAvailable in flash8, flash, neko, js, php, cpp, cs, javaAn Input is an abstract reader. See other classes in the haxe.io package for several possible implementations. var bigEndian(default,accessor) : Bool function close() : Void function read( nbytes : Int ) : BytesReads a number of bytes specified by nbytes from Input. When reading while data is no longer available in the Input an Eof exception is raised. function readAll( ?bufsize : Int ) : BytesReads all bytes from input. The bufsize parameter can be used to specify the size of the buffer used while reading. function readByte() : IntReads a single byte from Input. When reading while data is no longer available in the Input an Eof exception is raised. function readBytes( s : Bytes, pos : Int, len : Int ) : IntReads len bytes from Input and puts them in s starting at position pos.
Returns the count of bytes read.
If s doesn't have enough space raises an Error.OutsideBounds exception
function readDouble() : Float function readFloat() : Float function readFullBytes( s : Bytes, pos : Int, len : Int ) : Void function readInt16() : Int function readInt24() : Int function readInt32() : Int function readInt8() : Int function readLine() : StringReads a single line of text from Input. When reading while data is no longer available in the Input an Eof exception is raised. function readString( len : Int ) : String function readUInt16() : Int function readUInt24() : Int function readUntil( end : Int ) : String
version #18522, modified 2013-05-08 10:51:03 by api
0 comment