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

Public Member Functions

 DBCSDecoder (DBCSCodePageEncoding encoding)
 
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 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)
 
virtual unsafe int GetCharCount (ReadOnlySpan< byte > bytes, 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)
 
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)
 
virtual unsafe int GetChars (ReadOnlySpan< byte > bytes, Span< char > chars, 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)
 
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 void Convert (ReadOnlySpan< byte > bytes, Span< char > chars, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
 

Protected Attributes

EncodingNLS m_encoding
 
bool m_mustFlush
 

Package Functions

void ClearMustFlush ()
 
void ClearMustFlush ()
 
ReadOnlySpan< byte > GetLeftoverData ()
 
void SetLeftoverData (ReadOnlySpan< byte > bytes)
 
void ClearLeftoverData ()
 
int DrainLeftoverDataForGetCharCount (ReadOnlySpan< byte > bytes, out int bytesConsumed)
 
int DrainLeftoverDataForGetChars (ReadOnlySpan< byte > bytes, Span< char > chars, out int bytesConsumed)
 

Package Attributes

byte bLeftOver
 
bool _throwOnOverflow
 
int _bytesUsed
 
bool m_throwOnOverflow
 
int m_bytesUsed
 
DecoderFallback m_fallback
 
DecoderFallbackBuffer m_fallbackBuffer
 
DecoderFallback _fallback
 
DecoderFallbackBuffer _fallbackBuffer
 

Properties

override bool HasState [get]
 
bool MustFlush [get]
 
bool HasLeftoverData [get]
 
new DecoderFallback Fallback [get]
 
bool InternalHasFallbackBuffer [get]
 
new DecoderFallbackBuffer FallbackBuffer [get]
 

Private Member Functions

void ISerializable. GetObjectData (SerializationInfo info, StreamingContext context)
 

Static Private Member Functions

static int ConcatInto (ReadOnlySpan< byte > srcLeft, ReadOnlySpan< byte > srcRight, Span< byte > dest)
 

Private Attributes

readonly Encoding _encoding
 
bool _mustFlush
 
int _leftoverBytes
 
int _leftoverByteCount
 

Detailed Description

Definition at line 10 of file DBCSCodePageEncoding.cs.


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