25 lines
790 B
Haxe
25 lines
790 B
Haxe
package flash.media;
|
|
|
|
extern interface IDataInput {
|
|
var bytesAvailable(default,never) : UInt;
|
|
var endian : String;
|
|
var objectEncoding : UInt;
|
|
//function new() : Void;
|
|
function close() : Dynamic;
|
|
function open() : Dynamic;
|
|
function readBoolean() : Bool;
|
|
function readByte() : Int;
|
|
function readBytes(bytes : flash.utils.ByteArray, ?offset : UInt, ?length : UInt) : Void;
|
|
function readDouble() : Float;
|
|
function readFloat() : Float;
|
|
function readInt() : Int;
|
|
function readMultiByte(length : UInt, charSet : String) : String;
|
|
function readObject() : Dynamic;
|
|
function readShort() : Int;
|
|
function readUTF() : String;
|
|
function readUTFBytes(length : UInt) : String;
|
|
function readUnsignedByte() : UInt;
|
|
function readUnsignedInt() : UInt;
|
|
function readUnsignedShort() : UInt;
|
|
}
|