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

◆ InternalFallback() [1/2]

unsafe override int System.Text.UTF7Encoding.DecoderUTF7FallbackBuffer.InternalFallback ( byte[] bytes,
byte * pBytes )
inlinepackagevirtual

Reimplemented from System.Text.DecoderFallbackBuffer.

Definition at line 148 of file UTF7Encoding.cs.

149 {
150 if (bytes.Length != 1)
151 {
152 throw new ArgumentException(SR.Argument_InvalidCharSequenceNoIndex);
153 }
154 if (bytes[0] != 0)
155 {
156 return 1;
157 }
158 return 0;
159 }

References System.SR.Argument_InvalidCharSequenceNoIndex, and System.bytes.