FsPickler


ObjectSizeCounter

Namespace: MBrace.FsPickler
Attributes:
[<AutoSerializable(false)>]

Computes the accumulated size for a collection of user-provided serializable objects

Instance members

Instance memberDescription
x.Append(value, pickler)
Signature: (value:'T * pickler:Pickler<'T> option) -> unit
Type parameters: 'T

Appends a value to the size count.

x.Count
Signature: int64

Gets accumulated object size in bytes

CompiledName: get_Count

x.ObjectCount
Signature: int64

Gets the total number of root-level objects that were appended to the counter.

CompiledName: get_ObjectCount

x.Reset()
Signature: unit -> unit

Resets the size counter state.

x.ResetSerializationCache()
Signature: unit -> unit

Resets the serialization cache, without reseting size counters.

Fork me on GitHub