Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
override bool | Fallback (char charUnknown, int index) |
override bool | Fallback (char charUnknownHigh, char charUnknownLow, int index) |
override char | GetNextChar () |
override bool | MovePrevious () |
unsafe override void | Reset () |
Package Functions | |
unsafe void | InternalReset () |
unsafe void | InternalInitialize (char *charStart, char *charEnd, EncoderNLS encoder, bool setEncoder) |
char | InternalGetNextChar () |
virtual unsafe bool | InternalFallback (char ch, ref char *chars) |
int | InternalFallbackGetByteCount (ReadOnlySpan< char > chars, out int charsConsumed) |
bool | TryInternalFallbackGetBytes (ReadOnlySpan< char > chars, Span< byte > bytes, out int charsConsumed, out int bytesWritten) |
bool | TryDrainRemainingDataForGetBytes (Span< byte > bytes, out int bytesWritten) |
int | DrainRemainingDataForGetByteCount () |
Static Package Functions | |
static EncoderFallbackBuffer | CreateAndInitialize (Encoding encoding, EncoderNLS encoder, int originalCharCount) |
static void | ThrowLastCharRecursive (int charRecursive) |
Package Attributes | |
unsafe char * | charStart |
unsafe char * | charEnd |
EncoderNLS | encoder |
bool | setEncoder |
bool | bUsedEncoder |
bool | bFallingBack |
int | iRecursionCount |
Properties | |
override int | Remaining [get] |
Private Member Functions | |
bool | InternalFallback (ReadOnlySpan< char > chars, out int charsConsumed) |
Rune | GetNextRune () |
Static Private Member Functions | |
static char | TryBestFit (char cUnknown) |
Private Attributes | |
char | _cBestFit |
int | _iCount = -1 |
int | _iSize |
Encoding | encoding |
int | originalCharCount |
Static Private Attributes | |
static readonly char[] | s_arrayCharBestFit |
Definition at line 3 of file EncoderLatin1BestFitFallbackBuffer.cs.