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

◆ GetString()

string Newtonsoft.Json.Bson.BsonReader.GetString ( int length)
inlineprivate

Definition at line 334 of file BsonReader.cs.

335 {
336 while (length != 0)
337 {
338 this.EnsureBuffers();
339 long num = 0L;
340 long num2 = 0L;
341 BinaryReader reader = this._reader;
342 byte[] byteBuffer = this._byteBuffer;
343 if (reader != null)
344 {
345 int lastFullCharStop = this.GetLastFullCharStop((int)num);
346 if (num2 == 0L)
347 {
348 }
350 byte[] byteBuffer2 = this._byteBuffer;
351 char[] charBuffer = this._charBuffer;
352 char[] charBuffer2 = this._charBuffer;
353 byte[] byteBuffer3 = this._byteBuffer;
354 break;
355 }
356 }
358 byte[] byteBuffer4 = this._byteBuffer;
359 char[] charBuffer3 = this._charBuffer;
360 char[] charBuffer4 = this._charBuffer;
361 string text;
362 return text;
363 }
class f__AnonymousType0<< Count > j__TPar
readonly BinaryReader _reader
static Encoding UTF8
Definition Encoding.cs:828

References Newtonsoft.Json.Bson.BsonReader._byteBuffer, Newtonsoft.Json.Bson.BsonReader._charBuffer, Newtonsoft.Json.Bson.BsonReader._reader, Newtonsoft.Json.Bson.BsonReader.EnsureBuffers(), Newtonsoft.Json.Bson.BsonReader.GetLastFullCharStop(), j__TPar, System.L, System.text, and System.Text.Encoding.UTF8.