Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Text.DecoderFallbackBuffer Class Referenceabstract

Public Member Functions

bool Fallback (byte[] bytesUnknown, int index)
 
char GetNextChar ()
 
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

int Remaining [get]
 

Private Member Functions

Rune GetNextRune ()
 

Private Attributes

int _originalByteCount
 

Detailed Description

Definition at line 5 of file DecoderFallbackBuffer.cs.


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