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

Public Member Functions

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

Protected Attributes

EncodingNLS m_encoding
 
bool m_mustFlush
 

Package Functions

void ClearMustFlush ()
 
void ClearMustFlush ()
 
int DrainLeftoverDataForGetByteCount (ReadOnlySpan< char > chars, out int charsConsumed)
 
bool TryDrainLeftoverDataForGetBytes (ReadOnlySpan< char > chars, Span< byte > bytes, out int charsConsumed, out int bytesWritten)
 

Package Attributes

int defaultCodePage
 
int currentCodePage
 
bool bLastVirama
 
char _charLeftOver
 
bool _throwOnOverflow
 
int _charsUsed
 
char charLeftOver
 
bool m_throwOnOverflow
 
int m_charsUsed
 
EncoderFallback m_fallback
 
EncoderFallbackBuffer m_fallbackBuffer
 
EncoderFallback _fallback
 
EncoderFallbackBuffer _fallbackBuffer
 

Properties

override bool HasState [get]
 
Encoding Encoding [get]
 
bool MustFlush [get]
 
bool HasLeftoverData [get]
 
new EncoderFallback Fallback [get]
 
bool InternalHasFallbackBuffer [get]
 
new EncoderFallbackBuffer FallbackBuffer [get]
 

Private Member Functions

void ISerializable. GetObjectData (SerializationInfo info, StreamingContext context)
 

Private Attributes

readonly Encoding _encoding
 
bool _mustFlush
 

Detailed Description

Definition at line 7 of file ISCIIEncoding.cs.


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