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

◆ Convert() [5/5]

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

Definition at line 194 of file Encoder.cs.

195 {
196 fixed (char* chars2 = &MemoryMarshal.GetNonNullPinnableReference(chars))
197 {
198 fixed (byte* bytes2 = &MemoryMarshal.GetNonNullPinnableReference(bytes))
199 {
200 Convert(chars2, chars.Length, bytes2, bytes.Length, flush, out charsUsed, out bytesUsed, out completed);
201 }
202 }
203 }
virtual void Convert(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed)
Definition Encoder.cs:135

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