Skip to content

Codec_FSharpListSurrogate<T> 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>, FSharpListSurrogate<T>)

public void Deserialize<TReaderInput>(ref Reader<TReaderInput> reader, scoped ref FSharpListSurrogate<T> instance)
Deserializes the specified type.

Parameters

readerReader<TReaderInput>
The reader.
instanceFSharpListSurrogate<T>
The value.

ReadValue(Reader<TReaderInput>, Field)

public FSharpListSurrogate<T> 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>, FSharpListSurrogate<T>)

public void Serialize<TBufferWriter>(ref Writer<TBufferWriter> writer, scoped ref FSharpListSurrogate<T> instance)
Serializes the provided value.

Parameters

writerWriter<TBufferWriter>
The writer.
instanceFSharpListSurrogate<T>
The value.

WriteField(Writer<TBufferWriter>, uint, Type, FSharpListSurrogate<T>)

public void WriteField<TBufferWriter>(ref Writer<TBufferWriter> writer, uint fieldIdDelta, Type expectedType, FSharpListSurrogate<T> value)
Writes a field.

Parameters

writerWriter<TBufferWriter>
The writer.
fieldIdDeltauint
The field identifier delta.
expectedTypeType
The expected type.
valueFSharpListSurrogate<T>
The value.