Bytes.hx 748 B

123456789101112131415161718192021222324
  1. //
  2. // Code from FOGG project
  3. // http://bazaar.launchpad.net/~arkadini/fogg/trunk/files
  4. // Licensed under GPL
  5. //
  6. /* This code is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License version 2 only, as
  8. * published by the Free Software Foundation.
  9. *
  10. * This code is distributed in the hope that it will be useful, but WITHOUT
  11. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  13. * version 2 for more details (a copy is included in the LICENSE file that
  14. * accompanied this code).
  15. */
  16. package org.xiph.system;
  17. #if flash9
  18. typedef Bytes = haxe.io.BytesData;
  19. #else
  20. typedef Bytes = Array<Int>;
  21. #end