W3cubDocs

/Haxe C#

Encoding

package cs.system.text

implements ICloneable

Available on cs

Static variables

staticread onlyASCII:Encoding

staticread onlyBigEndianUnicode:Encoding

staticread onlyDefault:Encoding

staticread onlyUTF32:Encoding

staticread onlyUTF7:Encoding

staticread onlyUTF8:Encoding

staticread onlyUnicode:Encoding

Static methods

staticConvert(srcEncoding:Encoding, dstEncoding:Encoding, bytes:NativeArray<UInt8>):NativeArray<UInt8>

staticConvert(srcEncoding:Encoding, dstEncoding:Encoding, bytes:NativeArray<UInt8>, index:Int, count:Int):NativeArray<UInt8>

staticGetEncoding(codepage:Int):Encoding

staticGetEncoding(name:String):Encoding

staticGetEncoding(name:String, encoderFallback:EncoderFallback, decoderFallback:DecoderFallback):Encoding

staticGetEncoding(codepage:Int, encoderFallback:EncoderFallback, decoderFallback:DecoderFallback):Encoding

staticGetEncodings():NativeArray<EncodingInfo>

Variables

read onlyBodyName:String

read onlyCodePage:Int

DecoderFallback:DecoderFallback

EncoderFallback:EncoderFallback

read onlyEncodingName:String

read onlyHeaderName:String

read onlyIsBrowserDisplay:Bool

read onlyIsBrowserSave:Bool

read onlyIsMailNewsDisplay:Bool

read onlyIsMailNewsSave:Bool

read onlyIsReadOnly:Bool

read onlyIsSingleByte:Bool

read onlyWebName:String

read onlyWindowsCodePage:Int

Methods

Clone():Dynamic

GetByteCount(chars:NativeArray<Char16>, index:Int, count:Int):Int

GetByteCount(chars:Pointer<Char16>, count:Int):Int

GetByteCount(chars:NativeArray<Char16>):Int

GetByteCount(s:String):Int

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

GetBytes(chars:Pointer<Char16>, charCount:Int, bytes:Pointer<UInt8>, byteCount:Int):Int

GetBytes(chars:NativeArray<Char16>):NativeArray<UInt8>

GetBytes(chars:NativeArray<Char16>, index:Int, count:Int):NativeArray<UInt8>

GetBytes(s:String):NativeArray<UInt8>

GetBytes(s:String, charIndex:Int, charCount:Int, bytes:NativeArray<UInt8>, byteIndex:Int):Int

GetCharCount(bytes:NativeArray<UInt8>, index:Int, count:Int):Int

GetCharCount(bytes:Pointer<UInt8>, count:Int):Int

GetCharCount(bytes:NativeArray<UInt8>):Int

GetChars(bytes:NativeArray<UInt8>, byteIndex:Int, byteCount:Int, chars:NativeArray<Char16>, charIndex:Int):Int

GetChars(bytes:Pointer<UInt8>, byteCount:Int, chars:Pointer<Char16>, charCount:Int):Int

GetChars(bytes:NativeArray<UInt8>):NativeArray<Char16>

GetChars(bytes:NativeArray<UInt8>, index:Int, count:Int):NativeArray<Char16>

GetDecoder():Decoder

GetEncoder():Encoder

GetMaxByteCount(charCount:Int):Int

GetMaxCharCount(byteCount:Int):Int

GetPreamble():NativeArray<UInt8>

GetString(bytes:NativeArray<UInt8>, index:Int, count:Int):String

GetString(bytes:NativeArray<UInt8>):String

finalIsAlwaysNormalized():Bool

IsAlwaysNormalized(form:NormalizationForm):Bool

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