@@ -9,11 +9,19 @@ abstract UncheckedBytes(InnerData) {
}
@:arrayAccess inline function get( i : Int ) : Int {
+ #if neko
+ return untyped $sget(b,i);
+ #else
return this[i];
+ #end
@:arrayAccess inline function set( i : Int, v : Int ) : Int {
+ untyped $sset(b,i,v);
this[i] = v;
return v;