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

Public Member Functions

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

Package Functions

 OSEncoder (Encoding encoding)
 
 OSEncoder (Encoding encoding)
 

Package Attributes

EncoderFallback _fallback
 
EncoderFallbackBuffer _fallbackBuffer
 

Properties

EncoderFallbackFallback [get, set]
 
EncoderFallbackBuffer FallbackBuffer [get]
 
bool InternalHasFallbackBuffer [get]
 

Private Member Functions

unsafe int ConvertWithLeftOverChar (char *chars, int count, byte *bytes, int byteCount)
 
unsafe int ConvertWithLeftOverChar (char *chars, int count, byte *bytes, int byteCount)
 

Private Attributes

char _charLeftOver
 
readonly Encoding _encoding
 

Detailed Description

Definition at line 5 of file OSEncoder.cs.


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