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

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
 

Detailed Description

Definition at line 5 of file InternalDecoderBestFitFallbackBuffer.cs.


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