MBrace.Core


ISerializer

Namespace: MBrace.Core.Internals

Serialization abstraction

Instance members

Instance memberDescription
Clone(graph)
Signature: graph:'T -> 'T
Modifiers: abstract
Type parameters: 'T

Creates a cloned copy of a serializable object graph.

ComputeObjectSize(graph)
Signature: graph:'T -> int64
Modifiers: abstract
Type parameters: 'T

Computes serialization size of provided object graph in bytes.

Deserialize(source, leaveOpen)
Signature: (source:Stream * leaveOpen:bool) -> 'T
Modifiers: abstract
Type parameters: 'T

Deserializes a value from stream.

Id
Signature: string
Modifiers: abstract

Serializer identifier

CompiledName: get_Id

IsSerializable(value)
Signature: value:'T -> bool
Modifiers: abstract
Type parameters: 'T

Checks if supplied value can be serialized.

SeqDeserialize(source, leaveOpen)
Signature: (source:Stream * leaveOpen:bool) -> seq<'T>
Modifiers: abstract
Type parameters: 'T

Lazily deserialize a sequence from stream.

SeqSerialize(target, values, leaveOpen)
Signature: (target:Stream * values:seq<'T> * leaveOpen:bool) -> int
Modifiers: abstract
Type parameters: 'T

Lazily serializes a sequence to stream.

Serialize(target, value, leaveOpen)
Signature: (target:Stream * value:'T * leaveOpen:bool) -> unit
Modifiers: abstract
Type parameters: 'T

Serializes a value to stream.

Fork me on GitHub