Table of Contents

Serialize Method

Definition

Namespace
Savvyio
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/IMarshaller.cs

Serialize<TValue>(TValue)

Serializes the specified value to an object of Stream.

Stream Serialize<TValue>(TValue value)

Parameters

value TValue

The object to serialize to Stream format.

Returns

Stream

A Stream of the serialized value.

Type Parameters

TValue

Serialize(object, Type)

Serializes the specified value to an object of Stream.

Stream Serialize(object value, Type inputType)

Parameters

value object

The object to serialize to Stream format.

inputType Type

The type of the object to serialize.

Returns

Stream

A Stream of the serialized value.