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

◆ GetBytes() [4/10]

override int System.Formats.Asn1.SpanBasedEncoding.GetBytes ( char[] chars,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex )
inlineinherited

Definition at line 36 of file SpanBasedEncoding.cs.

37 {
38 return GetBytes(new ReadOnlySpan<char>(chars, charIndex, charCount), new Span<byte>(bytes, byteIndex, bytes.Length - byteIndex), write: true);
39 }
int GetBytes(ReadOnlySpan< char > chars, Span< byte > bytes, bool write)

References System.byteIndex, System.bytes, System.charCount, System.charIndex, System.chars, and System.Formats.Asn1.SpanBasedEncoding.GetBytes().