Click or drag to resize

DataMember.DecodeToArray Method

Used by code generator for reading objects.

Namespace:  VelocityDb.TypeInfo
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public static Object DecodeToArray(
	byte[] memberBytes,
	Type type,
	ref int offset,
	IOptimizedPersistable o,
	Page page,
	bool useOidShort,
	bool openRefs,
	Schema schema,
	SessionBase session,
	List<IOptimizedPersistable> toLoadMembers,
	int graphDepth,
	int graphDepthToLoad,
	bool primitivesOnly,
	bool embed
)

Parameters

memberBytes
Type:System.Byte[]
Bytes of the object to be read
type
Type: System.Type
The Type of the array.
offset
Type: System.Int32
Current offset into array of bytes
o
Type: VelocityDb.IOptimizedPersistable
Object containing the array
page
Type: VelocityDb.Page
The Page that the array belongs to.
useOidShort
Type: System.Boolean
Use short id (page-slot) for object references
openRefs
Type: System.Boolean
Open referenced objects?
schema
Type: VelocityDb.TypeInfo.Schema
The active Schema
session
Type: VelocityDb.Session.SessionBase
The active session to use
toLoadMembers
Type: System.Collections.Generic.List<IOptimizedPersistable>
Keeps track of fields to load
graphDepth
Type: System.Int32
Current graph depth
graphDepthToLoad
Type: System.Int32
How many levels to load
primitivesOnly
Type: System.Boolean
Load only primitive fields>
embed
Type: System.Boolean

[Missing <param name="embed"/> documentation for "M:VelocityDb.TypeInfo.DataMember.DecodeToArray(System.Byte[],System.Type,System.Int32@,VelocityDb.IOptimizedPersistable,VelocityDb.Page,System.Boolean,System.Boolean,VelocityDb.TypeInfo.Schema,VelocityDb.Session.SessionBase,System.Collections.Generic.List{VelocityDb.IOptimizedPersistable},System.Int32,System.Int32,System.Boolean,System.Boolean)"]

Return Value

Type: Object
The decoded array
See Also