FsPickler


IPickleFormatReader

Namespace: MBrace.FsPickler

Deserialization format abstraction.

Instance members

Instance memberDescription
x.BeginReadObject(tag)
Signature: tag:string -> ObjectFlags
Modifiers: abstract

Begin reading a new object.

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

Begin reading the pickle.

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

End reading an object.

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

End reading the pickle.

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.ReadBigInteger(tag)
Signature: tag:string -> bigint
Modifiers: abstract
x.ReadBoolean(tag)
Signature: tag:string -> bool
Modifiers: abstract
x.ReadByte(tag)
Signature: tag:string -> byte
Modifiers: abstract
x.ReadBytes(tag)
Signature: tag:string -> byte []
Modifiers: abstract
x.ReadCachedObjectId()
Signature: unit -> int64
Modifiers: abstract
x.ReadChar(tag)
Signature: tag:string -> char
Modifiers: abstract
x.ReadDateTime(tag)
Signature: tag:string -> DateTime
Modifiers: abstract
x.ReadDateTimeOffset(tag)
Signature: tag:string -> DateTimeOffset
Modifiers: abstract
x.ReadDecimal(tag)
Signature: tag:string -> decimal
Modifiers: abstract
x.ReadDouble(tag)
Signature: tag:string -> float
Modifiers: abstract
x.ReadGuid(tag)
Signature: tag:string -> Guid
Modifiers: abstract
x.ReadInt16(tag)
Signature: tag:string -> int16
Modifiers: abstract
x.ReadInt32(tag)
Signature: tag:string -> int32
Modifiers: abstract
x.ReadInt64(tag)
Signature: tag:string -> int64
Modifiers: abstract
x.ReadNextSequenceElement()
Signature: unit -> bool
Modifiers: abstract

Check if sequence has another element.

x.ReadPrimitiveArray tag target
Signature: tag:string -> target:Array -> unit
Modifiers: abstract

Copies data into preallocated primitive array.

x.ReadSByte(tag)
Signature: tag:string -> sbyte
Modifiers: abstract
x.ReadSingle(tag)
Signature: tag:string -> float32
Modifiers: abstract
x.ReadString(tag)
Signature: tag:string -> string
Modifiers: abstract
x.ReadTimeSpan(tag)
Signature: tag:string -> TimeSpan
Modifiers: abstract
x.ReadUInt16(tag)
Signature: tag:string -> uint16
Modifiers: abstract
x.ReadUInt32(tag)
Signature: tag:string -> uint32
Modifiers: abstract
x.ReadUInt64(tag)
Signature: tag:string -> uint64
Modifiers: abstract
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

Fork me on GitHub