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

◆ Convert() [3/3]

virtual unsafe void System.Text.Decoder.Convert ( ReadOnlySpan< byte > bytes,
Span< char > chars,
bool flush,
out int bytesUsed,
out int charsUsed,
out bool completed )
inlinevirtualinherited

Definition at line 201 of file Decoder.cs.

202 {
203 fixed (byte* bytes2 = &MemoryMarshal.GetNonNullPinnableReference(bytes))
204 {
205 fixed (char* chars2 = &MemoryMarshal.GetNonNullPinnableReference(chars))
206 {
207 Convert(bytes2, bytes.Length, chars2, chars.Length, flush, out bytesUsed, out charsUsed, out completed);
208 }
209 }
210 }
virtual void Convert(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
Definition Decoder.cs:142

References System.bytes, System.chars, and System.Text.Decoder.Convert().