Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
System.Text.ISO2022Encoding.ISO2022Decoder 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 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

 ISO2022Decoder (EncodingNLS encoding)
 
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[] bytesLeftOver
 
int bytesLeftOverCount
 
ISO2022Modes currentMode
 
ISO2022Modes shiftInOutMode
 
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 55 of file ISO2022Encoding.cs.


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