FsPickler


IPickleFormatWriter

Namespace: MBrace.FsPickler

Serialization format abstraction.

Instance members

Instance memberDescription
x.BeginWriteObject tag objectFlags
Signature: tag:string -> objectFlags:ObjectFlags -> unit
Modifiers: abstract

Start writing a new object to the pickle.

x.BeginWriteRoot(tag)
Signature: tag:string -> unit
Modifiers: abstract

Writes the start of the pickle.

x.EndWriteObject()
Signature: unit -> unit
Modifiers: abstract

End write of an object.

x.EndWriteRoot()
Signature: unit -> unit
Modifiers: abstract

Writes the end of the pickle.

x.Flush()
Signature: unit -> unit
Modifiers: abstract
x.IsPrimitiveArraySerializationSupported
Signature: bool
Modifiers: abstract

specifies if the format supports custom serialization for primitive arrays. this functionality is reserved for binary formats that use Buffer.BlockCopy

CompiledName: get_IsPrimitiveArraySerializationSupported

x.PreferLengthPrefixInSequences
Signature: bool
Modifiers: abstract

Specifies if the format favors prefixing of sequence lengths where applicable. This is offered for performance and is mostly used by binary formats.

CompiledName: get_PreferLengthPrefixInSequences

x.SerializeUnionCaseNames
Signature: bool
Modifiers: abstract

If specified, serializes full union case name for readability.

CompiledName: get_SerializeUnionCaseNames

x.UseNamedEnumSerialization
Signature: bool
Modifiers: abstract

Serialize enumerations using the slower Enum.Parse/Enum.Format methods

CompiledName: get_UseNamedEnumSerialization

x.WriteBigInteger tag value
Signature: tag:string -> value:bigint -> unit
Modifiers: abstract
x.WriteBoolean tag value
Signature: tag:string -> value:bool -> unit
Modifiers: abstract
x.WriteByte tag value
Signature: tag:string -> value:byte -> unit
Modifiers: abstract
x.WriteBytes tag value
Signature: tag:string -> (value:byte []) -> unit
Modifiers: abstract
x.WriteCachedObjectId(id)
Signature: id:int64 -> unit
Modifiers: abstract
x.WriteChar tag value
Signature: tag:string -> value:char -> unit
Modifiers: abstract
x.WriteDateTime tag date
Signature: tag:string -> date:DateTime -> unit
Modifiers: abstract
x.WriteDateTimeOffset tag date
Signature: tag:string -> date:DateTimeOffset -> unit
Modifiers: abstract
x.WriteDecimal tag value
Signature: tag:string -> value:decimal -> unit
Modifiers: abstract
x.WriteDouble tag value
Signature: tag:string -> value:float -> unit
Modifiers: abstract
x.WriteGuid tag guid
Signature: tag:string -> guid:Guid -> unit
Modifiers: abstract
x.WriteInt16 tag value
Signature: tag:string -> value:int16 -> unit
Modifiers: abstract
x.WriteInt32 tag value
Signature: tag:string -> value:int32 -> unit
Modifiers: abstract
x.WriteInt64 tag value
Signature: tag:string -> value:int64 -> unit
Modifiers: abstract
x.WriteNextSequenceElement(hasNext)
Signature: hasNext:bool -> unit
Modifiers: abstract

Specifies if another sequence element is to follow in the stream.

x.WritePrimitiveArray tag value
Signature: tag:string -> value:Array -> unit
Modifiers: abstract

Write primitive array contents to pickle

x.WriteSByte tag value
Signature: tag:string -> value:sbyte -> unit
Modifiers: abstract
x.WriteSingle tag value
Signature: tag:string -> value:float32 -> unit
Modifiers: abstract
x.WriteString tag value
Signature: tag:string -> value:string -> unit
Modifiers: abstract
x.WriteTimeSpan tag span
Signature: tag:string -> span:TimeSpan -> unit
Modifiers: abstract
x.WriteUInt16 tag value
Signature: tag:string -> value:uint16 -> unit
Modifiers: abstract
x.WriteUInt32 tag value
Signature: tag:string -> value:uint32 -> unit
Modifiers: abstract
x.WriteUInt64 tag value
Signature: tag:string -> value:uint64 -> unit
Modifiers: abstract
Fork me on GitHub