Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Text.DecoderDBCS Class Referencesealed

Public Member Functions

override void Reset ()
 
override int GetCharCount (byte[] bytes, int index, int count)
 
unsafe override int GetCharCount (byte[] bytes, int index, int count, bool flush)
 
unsafe override int GetCharCount (byte *bytes, int count, bool flush)
 
override int GetChars (byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
 
unsafe override int GetChars (byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, bool flush)
 
unsafe override int GetChars (byte *bytes, int byteCount, char *chars, int charCount, bool flush)
 
unsafe override void Convert (byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
 
unsafe override void Convert (byte *bytes, int byteCount, char *chars, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
 
override void Reset ()
 
override int GetCharCount (byte[] bytes, int index, int count)
 
unsafe override int GetCharCount (byte[] bytes, int index, int count, bool flush)
 
unsafe override int GetCharCount (byte *bytes, int count, bool flush)
 
override int GetChars (byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
 
unsafe override int GetChars (byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, bool flush)
 
unsafe override int GetChars (byte *bytes, int byteCount, char *chars, int charCount, bool flush)
 
unsafe override void Convert (byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
 
unsafe override void Convert (byte *bytes, int byteCount, char *chars, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
 
virtual unsafe int GetCharCount (ReadOnlySpan< byte > bytes, bool flush)
 
virtual unsafe int GetChars (ReadOnlySpan< byte > bytes, Span< char > chars, bool flush)
 
virtual unsafe void Convert (ReadOnlySpan< byte > bytes, Span< char > chars, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
 

Package Functions

 DecoderDBCS (Encoding encoding)
 
 DecoderDBCS (Encoding encoding)
 

Package Attributes

DecoderFallback _fallback
 
DecoderFallbackBuffer _fallbackBuffer
 

Properties

DecoderFallbackFallback [get, set]
 
DecoderFallbackBuffer FallbackBuffer [get]
 
bool InternalHasFallbackBuffer [get]
 

Private Member Functions

bool IsLeadByte (byte b)
 
unsafe int ConvertWithLeftOverByte (byte *bytes, int count, char *chars, int charCount)
 
unsafe bool IsLastByteALeadByte (byte *bytes, int count)
 
bool IsLeadByte (byte b)
 
unsafe int ConvertWithLeftOverByte (byte *bytes, int count, char *chars, int charCount)
 
unsafe bool IsLastByteALeadByte (byte *bytes, int count)
 

Private Attributes

readonly Encoding _encoding
 
readonly byte[] _leadByteRanges = new byte[10]
 
readonly int _rangesCount
 
byte _leftOverLeadByte
 

Detailed Description

Definition at line 5 of file DecoderDBCS.cs.


The documentation for this class was generated from the following files: