W3cubDocs

/Haxe C#

Encoding

package cs.system.text

implements ICloneable

Available on cs

Variables

read only BodyName:String

read only CodePage:Int

DecoderFallback:DecoderFallback

EncoderFallback:EncoderFallback

read only EncodingName:String

read only HeaderName:String

read only IsBrowserDisplay:Bool

read only IsBrowserSave:Bool

read only IsMailNewsDisplay:Bool

read only IsMailNewsSave:Bool

read only IsReadOnly:Bool

read only IsSingleByte:Bool

read only WebName:String

read only WindowsCodePage: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

IsAlwaysNormalized ():Bool

IsAlwaysNormalized (form:NormalizationForm):Bool

Static variables

static read only ASCII:Encoding

static read only BigEndianUnicode:Encoding

static read only Default:Encoding

static read only UTF32:Encoding

static read only UTF7:Encoding

static read only UTF8:Encoding

static read only Unicode:Encoding

Static methods

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

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

static GetEncoding (codepage:Int):Encoding

static GetEncoding (name:String):Encoding

static GetEncoding (name:String, encoderFallback:EncoderFallback, decoderFallback:DecoderFallback):Encoding

static GetEncoding (codepage:Int, encoderFallback:EncoderFallback, decoderFallback:DecoderFallback):Encoding

static GetEncodings ():NativeArray<EncodingInfo>

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