terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Newtonsoft.Json.Bson.BsonReader Class Reference
+ Inheritance diagram for Newtonsoft.Json.Bson.BsonReader:
+ Collaboration diagram for Newtonsoft.Json.Bson.BsonReader:

Classes

class  ContainerContext
 

Public Member Functions

 BsonReader (Stream stream)
 
 BsonReader (BinaryReader reader)
 
 BsonReader (Stream stream, bool readRootValueAsArray, DateTimeKind dateTimeKindHandling)
 
 BsonReader (BinaryReader reader, bool readRootValueAsArray, DateTimeKind dateTimeKindHandling)
 
override bool Read ()
 
override void Close ()
 
virtual ? int ReadAsInt32 ()
 
virtual string ReadAsString ()
 
virtual byte[] ReadAsBytes ()
 
virtual ? double ReadAsDouble ()
 
virtual ? bool ReadAsBoolean ()
 
virtual ? decimal ReadAsDecimal ()
 
virtual ? DateTime ReadAsDateTime ()
 
virtual ? DateTimeOffset ReadAsDateTimeOffset ()
 
void Skip ()
 

Protected Member Functions

void SetToken (JsonToken newToken)
 
void SetToken (JsonToken newToken, object value)
 
void SetStateBasedOnCurrent ()
 
virtual void Dispose (bool disposing)
 

Package Types

enum  State {
  Start , Complete , Property , ObjectStart ,
  Object , ArrayStart , Array , Closed ,
  PostValue , ConstructorStart , Constructor , Error ,
  Finished
}
 

Package Functions

JsonPosition GetPosition (int depth)
 
int? ReadInt32String (string s)
 
byte[] ReadArrayIntoByteArray ()
 
double? ReadDoubleString (string s)
 
bool? ReadBooleanString (string s)
 
decimal? ReadDecimalString (string s)
 
DateTimeReadDateTimeString (string s)
 
DateTimeOffsetReadDateTimeOffsetString (string s)
 
void ReaderReadAndAssert ()
 
JsonReaderException CreateUnexpectedEndException ()
 
void ReadIntoWrappedTypeObject ()
 
void SetToken (JsonToken newToken, object value, bool updateIndex)
 
void SetPostValueState (bool updateIndex)
 
void ReadAndAssert ()
 
bool ReadAndMoveToContent ()
 
bool MoveToContent ()
 

Package Attributes

char _quoteChar
 
JsonReader.State _currentState
 
DateParseHandling _dateParseHandling
 
FloatParseHandling _floatParseHandling
 

Properties

bool JsonNet35BinaryCompatibility [get, set]
 
bool ReadRootValueAsArray [get, set]
 
DateTimeKind DateTimeKindHandling [get, set]
 
JsonReader.State CurrentState [get, set]
 
bool CloseInput [get, set]
 
bool SupportMultipleContent [get, set]
 
virtual char QuoteChar [get, set]
 
DateTimeZoneHandling DateTimeZoneHandling [get, set]
 
DateParseHandling DateParseHandling [get, set]
 
FloatParseHandling FloatParseHandling [get, set]
 
string DateFormatString [get, set]
 
int? MaxDepth [get, set]
 
virtual JsonToken TokenType [get, set]
 
virtual object Value [get, set]
 
virtual Type ValueType [get, set]
 
virtual int Depth [get, set]
 
virtual string Path [get, set]
 
CultureInfo Culture [get, set]
 

Private Types

enum  BsonReaderState {
  Normal , ReferenceStart , ReferenceRef , ReferenceId ,
  CodeWScopeStart , CodeWScopeCode , CodeWScopeScope , CodeWScopeScopeObject ,
  CodeWScopeScopeEnd
}
 

Private Member Functions

string ReadElement ()
 
bool ReadCodeWScope ()
 
bool ReadReference ()
 
bool ReadNormal ()
 
void PopContext ()
 
void PushContext (BsonReader.ContainerContext newContext)
 
byte ReadByte ()
 
void ReadType (BsonType type)
 
byte[] ReadBinary (out BsonBinaryType binaryType)
 
string ReadString ()
 
string ReadLengthString ()
 
string GetString (int length)
 
int GetLastFullCharStop (int start)
 
int BytesInSequence (byte b)
 
void EnsureBuffers ()
 
double ReadDouble ()
 
int ReadInt32 ()
 
long ReadInt64 ()
 
BsonType ReadType ()
 
void MovePosition (int count)
 
byte[] ReadBytes (int count)
 
void Push (JsonContainerType value)
 
JsonContainerType Pop ()
 
JsonContainerType Peek ()
 
void UpdateScopeWithFinishedValue ()
 
void ValidateEnd (JsonToken endToken)
 
void SetFinished ()
 
JsonContainerType GetTypeForCloseToken (JsonToken token)
 
void System.IDisposable. Dispose ()
 
JsonToken GetContentToken ()
 

Static Private Member Functions

static BsonReader ()
 

Private Attributes

readonly BinaryReader _reader
 
readonly List< BsonReader.ContainerContext_stack
 
byte[] _byteBuffer
 
char[] _charBuffer
 
BsonType _currentElementType
 
BsonReader.BsonReaderState _bsonReaderState
 
BsonReader.ContainerContext _currentContext
 
bool _readRootValueAsArray
 
bool _jsonNet35BinaryCompatibility
 
DateTimeKind _dateTimeKindHandling
 
JsonToken _tokenType
 
object _value
 
JsonPosition _currentPosition
 
CultureInfo _culture
 
DateTimeZoneHandling _dateTimeZoneHandling
 
int? _maxDepth
 
bool _hasExceededMaxDepth
 
string _dateFormatString
 
bool< CloseInputk__BackingField
 
bool< SupportMultipleContentk__BackingField
 

Static Private Attributes

const int MaxCharBytesSize = 128
 
static readonly byte[] SeqRange1
 
static readonly byte[] SeqRange2
 
static readonly byte[] SeqRange3
 
static readonly byte[] SeqRange4
 

Detailed Description

Definition at line 15 of file BsonReader.cs.


The documentation for this class was generated from the following file: