Skip to content

Commit

Permalink
another fix for flash endianness
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed Apr 2, 2014
1 parent 669b6ed commit f9f0c26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions std/haxe/io/Bytes.hx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ class Bytes {
function new(length,b) {
this.length = length;
this.b = b;
#if flash9
b.endian = flash.utils.Endian.LITTLE_ENDIAN;
#end
}

public inline function get( pos : Int ) : Int {
Expand Down

0 comments on commit f9f0c26

Please sign in to comment.