Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
override bool | Fallback (byte[] bytesUnknown, int index) |
override char | GetNextChar () |
override bool | MovePrevious () |
virtual 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 | |
unsafe byte * | byteStart |
unsafe char * | charEnd |
Encoding | _encoding |
DecoderNLS | _decoder |
Properties | |
override int | Remaining [get] |
Private Member Functions | |
Rune | GetNextRune () |
Static Private Member Functions | |
static void | Throw (byte[] bytesUnknown, int index) |
Private Attributes | |
int | _originalByteCount |
Definition at line 5 of file DecoderExceptionFallbackBuffer.cs.