ObjectInput.hx 744 B

12345678910111213141516171819202122
  1. package flash.utils;
  2. extern class ObjectInput implements IDataInput {
  3. var bytesAvailable(default,never) : UInt;
  4. var endian : Endian;
  5. var objectEncoding : UInt;
  6. function new() : Void;
  7. function readBoolean() : Bool;
  8. function readByte() : Int;
  9. function readBytes(bytes : ByteArray, offset : UInt = 0, length : UInt = 0) : Void;
  10. function readDouble() : Float;
  11. function readFloat() : Float;
  12. function readInt() : Int;
  13. function readMultiByte(length : UInt, charSet : String) : String;
  14. function readObject() : Dynamic;
  15. function readShort() : Int;
  16. function readUTF() : String;
  17. function readUTFBytes(length : UInt) : String;
  18. function readUnsignedByte() : UInt;
  19. function readUnsignedInt() : UInt;
  20. function readUnsignedShort() : UInt;
  21. }