Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ThrowBytesOverflow() [2/2]

void System.Text.EncodingNLS.ThrowBytesOverflow ( System::Text::EncoderNLS encoder,
bool nothingEncoded )
inlinepackageinherited

Definition at line 340 of file EncodingNLS.cs.

341 {
342 if ((encoder?.m_throwOnOverflow ?? true) || nothingEncoded)
343 {
344 if (encoder != null && encoder.InternalHasFallbackBuffer)
345 {
346 encoder.FallbackBuffer.Reset();
347 }
349 }
350 encoder.ClearMustFlush();
351 }
new EncoderFallbackBuffer FallbackBuffer
Definition EncoderNLS.cs:26

References System.Text.EncodingNLS.ThrowBytesOverflow().

Referenced by System.Text.EncodingByteBuffer.MovePrevious().