Click or drag to resize

DataMemberDecodeToArray 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: SystemByte
Bytes of the object to be read
type
Type: SystemType
The Type of the array.
offset
Type: SystemInt32
Current offset into array of bytes
o
Type: VelocityDbIOptimizedPersistable
Object containing the array
page
Type: VelocityDbPage
The Page that the array belongs to.
useOidShort
Type: SystemBoolean
Use short id (page-slot) for object references
openRefs
Type: SystemBoolean
Open referenced objects?
schema
Type: VelocityDb.TypeInfoSchema
The active Schema
session
Type: VelocityDb.SessionSessionBase
The active session to use
toLoadMembers
Type: System.Collections.GenericListIOptimizedPersistable
Keeps track of fields to load
graphDepth
Type: SystemInt32
Current graph depth
graphDepthToLoad
Type: SystemInt32
How many levels to load
primitivesOnly
Type: SystemBoolean
Load only primitive fields>
embed
Type: SystemBoolean

[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