Skip to content

Codec_ImmutableSortedDictionarySurrogate<TKey, TValue> Methods

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

Deserialize(Reader<TReaderInput>, ImmutableSortedDictionarySurrogate<TKey, TValue>)

public void Codec_ImmutableSortedDictionarySurrogate<TKey, Deserialize<TReaderInput>(ref Reader<TReaderInput> reader, scoped ref ImmutableSortedDictionarySurrogate<TKey, TValue> instance)
Deserializes the specified type.

Parameters

readerReader<TReaderInput>
The reader.
instanceImmutableSortedDictionarySurrogate<TKey, TValue>
The value.

ReadValue(Reader<TReaderInput>, Field)

public ImmutableSortedDictionarySurrogate<TKey, TValue> Codec_ImmutableSortedDictionarySurrogate<TKey, ReadValue<TReaderInput>(ref Reader<TReaderInput> reader, Field field)
Reads a value.

Parameters

readerReader<TReaderInput>
The reader.
fieldField
The field.

Returns

The value.

Serialize(Writer<TBufferWriter>, ImmutableSortedDictionarySurrogate<TKey, TValue>)

public void Codec_ImmutableSortedDictionarySurrogate<TKey, Serialize<TBufferWriter>(ref Writer<TBufferWriter> writer, scoped ref ImmutableSortedDictionarySurrogate<TKey, TValue> instance)
Serializes the provided value.

Parameters

writerWriter<TBufferWriter>
The writer.
instanceImmutableSortedDictionarySurrogate<TKey, TValue>
The value.

WriteField(Writer<TBufferWriter>, uint, Type, ImmutableSortedDictionarySurrogate<TKey, TValue>)

public void Codec_ImmutableSortedDictionarySurrogate<TKey, WriteField<TBufferWriter>(ref Writer<TBufferWriter> writer, uint fieldIdDelta, Type expectedType, ImmutableSortedDictionarySurrogate<TKey, TValue> value)
Writes a field.

Parameters

writerWriter<TBufferWriter>
The writer.
fieldIdDeltauint
The field identifier delta.
expectedTypeType
The expected type.
valueImmutableSortedDictionarySurrogate<TKey, TValue>
The value.