TypeCodec Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Functionality for serializing and deserializing types.
public sealed class TypeCodec
type TypeCodec = class
Public NotInheritable Class TypeCodec
- Inheritance
-
TypeCodec
Constructors
TypeCodec(TypeConverter) |
Initializes a new instance of the TypeCodec class. |
Methods
ReadLengthPrefixed<TInput>(Reader<TInput>) |
Reads a length-prefixed type. |
TryRead<TInput>(Reader<TInput>) |
Reads a type. |
TryReadForAnalysis<TInput>(Reader<TInput>, Type, String) |
Tries to read a type for diagnostics purposes. |
WriteEncodedType<TBufferWriter>(Writer<TBufferWriter>, Type) |
Writes a type. |
WriteLengthPrefixed<TBufferWriter>(Writer<TBufferWriter>, Type) |
Writes a type with a length-prefix. |