Static variables

static__bytes__:Bytes

staticread onlycapacity:GoInt

staticread onlylength:GoInt

Simulated Slice ([]T) type in Haxe. Variable size and can be changed in size with: slice: no allocation * append: allocation

Static methods

@:fromstaticfromArray<T>(array:Array<T>):Slice<T>

@:fromstaticfromBytes(bytes:Bytes):Slice<GoByte>

@:fromstaticfromStringBytes(str:String):Slice<GoByte>

@:fromstaticfromStringRunes(str:String):Slice<GoRune>

@:fromstaticfromVector<T>(vector:Vector<T>):Slice<T>

@:tostatictoBytes(slice:Slice<GoByte>):Bytes

Variables

read only__offset__:Int

__vector__:Vector<T>

Methods

inline__append__(this:GoArrayData<T>, args:Rest<T>):Slice<T>

__copyTo__(this:GoArrayData<T>, src:Slice<T>):GoInt

__copy__(this:GoArrayData<T>):Slice<T>

__getOffset__(this:GoArrayData<T>):Int

@:op([])__get__(this:GoArrayData<T>, index:GoInt):T

inline__ref__():GoArrayData<T>

inline__setData__(data:GoArrayData<T>):Void

inline__setNil__(this:GoArrayData<T>):Slice<T>

__setNumber32__(this:GoArrayData<T>):Slice<T>

__setNumber64__(this:GoArrayData<T>):Slice<T>

__setString__(this:GoArrayData<T>):Slice<T>

@:op([])__set__(this:GoArrayData<T>, index:GoInt, value:T):T

__slice__(this:GoArrayData<T>, args:Rest<GoInt>):Slice<T>

@:to__toArray__(this:GoArrayData<T>):Array<T>

inline__toBasic__(this:GoArrayData<T>):GoArrayData<T>

iterator(this:GoArrayData<T>):GoArrayDataIterator<T>

keyValueIterator(this:GoArrayData<T>):GoArrayDataKeyValueIterator<T>

@:totoGoArray(this:GoArrayData<T>):Ref<GoArray<T>>