Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
InternalDecoderBestFitFallbackBuffer (InternalDecoderBestFitFallback fallback) | |
override bool | Fallback (byte[] bytesUnknown, int index) |
override char | GetNextChar () |
override bool | MovePrevious () |
override void | Reset () |
Package Functions | |
unsafe void | InternalReset () |
unsafe void | InternalInitialize (byte *byteStart, char *charEnd) |
virtual unsafe bool | InternalFallback (byte[] bytes, byte *pBytes, ref char *chars) |
virtual unsafe int | InternalFallback (byte[] bytes, byte *pBytes) |
int | InternalFallbackGetCharCount (ReadOnlySpan< byte > remainingBytes, int fallbackLength) |
bool | TryInternalFallbackGetChars (ReadOnlySpan< byte > remainingBytes, int fallbackLength, Span< char > chars, out int charsWritten) |
int | DrainRemainingDataForGetCharCount () |
bool | TryDrainRemainingDataForGetChars (Span< char > chars, out int charsWritten) |
Static Package Functions | |
static DecoderFallbackBuffer | CreateAndInitialize (Encoding encoding, DecoderNLS decoder, int originalByteCount) |
static void | ThrowLastBytesRecursive (byte[] bytesUnknown) |
Package Attributes | |
char | cBestFit |
int | iCount = -1 |
int | iSize |
unsafe byte * | byteStart |
unsafe char * | charEnd |
Encoding | _encoding |
DecoderNLS | _decoder |
Properties | |
static object | InternalSyncObject [get] |
override int | Remaining [get] |
Private Member Functions | |
char | TryBestFit (byte[] bytesCheck) |
Rune | GetNextRune () |
Private Attributes | |
readonly InternalDecoderBestFitFallback | _oFallback |
int | _originalByteCount |
Static Private Attributes | |
static object | s_InternalSyncObject |
Definition at line 5 of file InternalDecoderBestFitFallbackBuffer.cs.