Representation of a GoString in Haxe, implicitly converts to String. GoStringData holds haxe.io.Bytes because GoStrings can hold invalid charachter sequences GoString is pass by ref and needs to manually call __copy__ for pass by copy

Static variables

staticread onlycode:GoRune

staticread onlylength:GoInt

Methods

__copy__(this:GoStringData):GoString

@:op([])__get__(this:GoStringData, index:GoInt):GoByte

@:value({ high : -1 })__slice__(this:GoStringData, low:GoInt, high:GoInt = -1):GoString

@:to__toArray__(this:GoStringData):Array<GoByte>

@:to__toSliceByte__(this:GoStringData):Slice<GoByte>

@:to__toSliceRune__(this:GoStringData):Slice<GoRune>

iterator(this:GoStringData):GoStringIterator

keyValueIterator(this:GoStringData):GoStringKeyValueIterator

@:totoString(this:GoStringData):String