W3cubDocs

/Haxe C#

Encoder

package cs.system.text

extended by Encoding_ForwardingEncoder

@:abstract@:libType@:csNative@:native("System.Text.Encoder") Available on cs

Variables

Fallback:EncoderFallback

read only FallbackBuffer:EncoderFallbackBuffer

Methods

@:overload Convert (chars:Pointer<Char16>, charCount:Int, bytes:Pointer<UInt8>, byteCount:Int, flush:Bool, charsUsed:Out<Int>, bytesUsed:Out<Int>, completed:Out<Bool>):Void

@:overload Convert (chars:NativeArray<Char16>, charIndex:Int, charCount:Int, bytes:NativeArray<UInt8>, byteIndex:Int, byteCount:Int, flush:Bool, charsUsed:Out<Int>, bytesUsed:Out<Int>, completed:Out<Bool>):Void

@:overload GetByteCount (chars:NativeArray<Char16>, index:Int, count:Int, flush:Bool):Int

@:overload GetByteCount (chars:Pointer<Char16>, count:Int, flush:Bool):Int

@:overload GetBytes (chars:NativeArray<Char16>, charIndex:Int, charCount:Int, bytes:NativeArray<UInt8>, byteIndex:Int, flush:Bool):Int

@:overload GetBytes (chars:Pointer<Char16>, charCount:Int, bytes:Pointer<UInt8>, byteCount:Int, flush:Bool):Int

@:overload Reset ():Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/text/Encoder.html