implements IDisposable
0x00x0030
Members 12
| Offset | Size | Name | Type | Flags |
|---|---|---|---|---|
| — | 0x02 | k_BeginObjectToken | ushort | PrivateStatic+1 flags |
| — | 0x02 | k_EndObjectToken | ushort | PrivateStatic+1 flags |
| — | 0x02 | k_BeginArrayToken | ushort | PrivateStatic+1 flags |
| — | 0x02 | k_EndArrayToken | ushort | PrivateStatic+1 flags |
| — | 0x02 | k_NewlineToken | ushort | PrivateStatic+1 flags |
| — | 0x02 | k_QuoteToken | ushort | PrivateStatic+1 flags |
| — | 0x02 | k_SpaceToken | ushort | PrivateStatic+1 flags |
| 0x04 | m_Label | Allocator | Private+1 flags | |
| 0x0004 | 0x04 | padding / unreflected | ||
| — | m_Data | Data* | Private | |
| 0x0008 | 0x08 | padding / unreflected | ||
| 0x08 | m_Buffer | NativeList<System.Char> | Private | |
| 0x08 | m_Stack | NativeList<Unity.Serialization.Json.JsonWriter.Unsafe.State> | Private | |
| 0x0C | m_Options | JsonWriterOptions | Private+1 flags | |
| 0x002C | 0x04 | unreflected bytes to end of Unsafe | ||
Functions 47
| Signature | Flags | Native | Params |
|---|---|---|---|
| int get_Length() | Public+1 flags | — | 0x04 |
| Char* GetUnsafeReadOnlyPtr() | Public | — | 0x00 |
| void .ctor(int initialCapacity, const Allocator& label, const JsonWriterOptions& options) | Public+1 flags | — | 0x0C |
| void Dispose() | PublicFinal+2 flags | — | 0x00 |
| string ToString() | Public+1 flags | — | 0x08 |
| void Clear() | Public | — | 0x00 |
| void WriteBeginObject(const Char*& ptr, int length) | Public | — | 0x04 |
| void WriteBeginObject() | Public | — | 0x00 |
| void WriteEndObject() | Public | — | 0x00 |
| void WriteBeginArray(const Char*& ptr, int length) | Public | — | 0x04 |
| void WriteBeginArray() | Public | — | 0x00 |
| void WriteEndArray() | Public | — | 0x00 |
| void WriteKey(const Char*& ptr, int length) | Public | — | 0x04 |
| void WriteValue(int value) | Public | — | 0x04 |
| void WriteValue(long value) | Public | — | 0x08 |
| void WriteValue(float value) | Public | — | 0x04 |
| void WriteValue(bool value) | Public | — | 0x01 |
| void WriteNull() | Public | — | 0x00 |
| void WritePositiveInfinity() | Private | — | 0x00 |
| void WriteNegativeInfinity() | Private | — | 0x00 |
| void WriteValue(ushort value) | Public | — | 0x02 |
| void WriteValue(const Char*& ptr, int length) | Public | — | 0x04 |
| void WriteValue(const FixedString128Bytes& value) | Private | — | 0x80 |
| void WriteValueLiteral(ushort value) | Public | — | 0x02 |
| void WriteValueLiteral(const Char*& ptr, int length) | Public | — | 0x04 |
| void WriteKeyValue(const Char*& ptr, int length, int value) | Public | — | 0x04 |
| void WriteKeyValue(const Char*& ptr, int length, uint value) | Public | 0x04 | |
| void WriteKeyValue(const Char*& ptr, int length, long value) | Public | 0x08 | |
| void WriteKeyValue(const Char*& ptr, int length, ulong value) | Public | 0x08 | |
| void WriteKeyValue(const Char*& ptr, int length, float value) | Public | 0x04 | |
| void WriteKeyValue(const Char*& keyPtr, int keyLength, const Char*& valuePtr, int valueLength) | Public | 0x04 | |
| void WriteKeyValueLiteral(const Char*& keyPtr, int keyLength, const Char*& valuePtr, int valueLength) | Public | 0x04 | |
| void WriteMemberSeparator() | Private | 0x00 | |
| void WriteIndent() | Private | 0x00 | |
| void Write(const Char*& ptr, int length) | Private | 0x04 | |
| void Write(ushort value) | Private | 0x02 | |
| State PeekState() | Private | 0x08 | |
| void IncrementElementCount() | Private | 0x00 | |
| void PushState(const StateType& type) | Private | 0x04 | |
| void PopState() | Private | 0x00 | |
| bool ContainsAnySpecialCharacters(const Char*& ptr, int length) | PrivateStatic | 0x04 | |
| void ValidateWriteBeginObject() | Private | 0x00 | |
| void ValidateWriteEndObject() | Private | 0x00 | |
| void ValidateWriteBeginArray() | Private | 0x00 | |
| void ValidateWriteEndArray() | Private | 0x00 | |
| void ValidateWriteKey() | Private | 0x00 | |
| void ValidateWriteValue() | Private | 0x00 |