terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ConvertAndTerminateString()

Span< byte > System.Text.ValueUtf8Converter.ConvertAndTerminateString ( ReadOnlySpan< char > value)
inline

Definition at line 15 of file ValueUtf8Converter.cs.

16 {
17 Encoding utf = Encoding.UTF8;
18 int length = this._bytes._length;
19 this.Dispose();
20 if (length == 0)
21 {
22 }
23 if (length == 0)
24 {
25 }
26 long num = 0L;
27 long num2 = 0L;
28 this._bytes = num;
30 Encoding utf2 = Encoding.UTF8;
31 Span<byte> bytes = this._bytes;
32 int length2 = this._bytes._length;
34 int length3 = this._bytes._length;
36 return this._bytes;
37 }
class f__AnonymousType0<< Count > j__TPar
static void ThrowArgumentOutOfRangeException()
readonly int _length
Definition Span.cs:240

References System.Text.ValueUtf8Converter._bytes, System.Span< T >._length, System.Text.ValueUtf8Converter.Dispose(), j__TPar, System.L, System.length, System.ThrowHelper.ThrowArgumentOutOfRangeException(), and System.Text.Encoding.UTF8.