URLStream.hx 921 B

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