/bin/std/flash9/net/URLStream.hx

http://github.com/Yoomee/clippy · Haxe · 25 lines · 24 code · 1 blank · 0 comment · 0 complexity · e2e7348750ac21236925fcfc17b7c9b7 MD5 · raw file

  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, ?length : UInt) : 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. }