MBrace.Core


Serializer

Namespace: MBrace.Core

Common MBrace serialization methods

Static members

Static memberDescription
Clone(graph)
Signature: graph:'T -> LocalCloud<'T>
Type parameters: 'T

Creates an in-memory clone of supplied serializable object graph.

ComputeObjectSize(graph)
Signature: graph:'T -> LocalCloud<int64>
Type parameters: 'T

Quickly computes the size of a serializable object graph in bytes.

Deserialize(stream, leaveOpen)
Signature: (stream:Stream * leaveOpen:bool option) -> LocalCloud<'T>
Type parameters: 'T

Deserializes provided object graph from underlying read stream.

Pickle(graph)
Signature: graph:'T -> LocalCloud<byte []>
Type parameters: 'T

Serializes provided object graph to byte array.

PickleToString(graph)
Signature: graph:'T -> LocalCloud<string>
Type parameters: 'T

Serializes provided object graph to string.

Serialize(stream, graph, leaveOpen)
Signature: (stream:Stream * graph:'T * leaveOpen:bool option) -> LocalCloud<unit>
Type parameters: 'T

Serializes provided object graph to underlying write stream.

TextDeserialize(source, leaveOpen)
Signature: (source:TextReader * leaveOpen:bool option) -> LocalCloud<'T>
Type parameters: 'T

Deserializes object graph from underlying text reader.

TextSerialize(target, graph, leaveOpen)
Signature: (target:TextWriter * graph:'T * leaveOpen:bool option) -> LocalCloud<unit>
Type parameters: 'T

Serializes provided object graph to underlying text writer.

UnPickle(pickle)
Signature: (pickle:byte []) -> LocalCloud<'T>
Type parameters: 'T

Deserializes object from given byte array pickle.

UnPickleOfString(pickle)
Signature: pickle:string -> LocalCloud<'T>
Type parameters: 'T

Deserializes object from given string pickle.

Fork me on GitHub