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
)
Public Shared Function DecodeToArray (
memberBytes As Byte(),
type As Type,
ByRef offset As Integer,
o As IOptimizedPersistable,
page As Page,
useOidShort As Boolean,
openRefs As Boolean,
schema As Schema,
session As SessionBase,
toLoadMembers As List(Of IOptimizedPersistable),
graphDepth As Integer,
graphDepthToLoad As Integer,
primitivesOnly As Boolean,
embed As Boolean
) As Object
public:
static Object^ DecodeToArray(
array<unsigned char>^ memberBytes,
Type^ type,
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
)
static member DecodeToArray :
memberBytes : byte[] *
type : Type *
offset : int byref *
o : IOptimizedPersistable *
page : Page *
useOidShort : bool *
openRefs : bool *
schema : Schema *
session : SessionBase *
toLoadMembers : List<IOptimizedPersistable> *
graphDepth : int *
graphDepthToLoad : int *
primitivesOnly : bool *
embed : bool -> Object
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:
ObjectThe decoded array
See Also