W3cubDocs

/Haxe C++

NativeString

package cpp

Available on cpp

Static methods

@:has_untyped static inline c_str (inString:String):ConstPointer<Char>

@:native("_hx_string_compare") static compare (inString0:String, inString1:String):Int

@:has_untyped static inline fromGcPointer (inPtr:ConstPointer<Char>, inLen:Int):String

@:has_untyped static inline fromPointer (inPtr:ConstPointer<Char>):String

@:native("_hx_string_create") static fromPointerLen (inPtr:ConstPointer<Char>, len:Int):String

@:has_untyped static inline raw (inString:String):RawConstPointer<Char>

@:native("_hx_utf8_char_code_at") static utf8CharCodeAt (inString:String, inIndex:Int):Int

@:native("_hx_utf8_decode_advance") static utf8DecodeAdvance (reference:Char):Int

@:native("_hx_utf8_is_valid") static utf8IsValid (inString:String):Bool

@:native("_hx_utf8_length") static utf8Length (inString:String):Int

@:native("_hx_utf8_sub") static utf8Sub (inString:String, charStart:Int, inLen:Int):String

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cpp/NativeString.html