Operator Reference

get_serialized_item_ptrT_get_serialized_item_ptrGetSerializedItemPtrGetSerializedItemPtrget_serialized_item_ptr (Operator)

get_serialized_item_ptrT_get_serialized_item_ptrGetSerializedItemPtrGetSerializedItemPtrget_serialized_item_ptr — Access the data pointer of a serialized item.

Warning

It is not recommended to use the operator get_serialized_item_ptrget_serialized_item_ptrGetSerializedItemPtrGetSerializedItemPtrget_serialized_item_ptr in HDevelop.

Signature

get_serialized_item_ptr( : : SerializedItemHandle : Pointer, Size)

Herror T_get_serialized_item_ptr(const Htuple SerializedItemHandle, Htuple* Pointer, Htuple* Size)

void GetSerializedItemPtr(const HTuple& SerializedItemHandle, HTuple* Pointer, HTuple* Size)

void* HSerializedItem::GetSerializedItemPtr(Hlong* Size) const

static void HOperatorSet.GetSerializedItemPtr(HTuple serializedItemHandle, out HTuple pointer, out HTuple size)

IntPtr HSerializedItem.GetSerializedItemPtr(out int size)

def get_serialized_item_ptr(serialized_item_handle: HHandle) -> Tuple[int, int]

Description

get_serialized_item_ptrget_serialized_item_ptrGetSerializedItemPtrGetSerializedItemPtrget_serialized_item_ptr returns the data pointer to the serialized item which is passed by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basics of serialization). The data pointer, i.e., the beginning of the serialized item is returned by the parameter PointerPointerPointerpointerpointer. The size of the serialized item in bytes is passed by the parameter SizeSizeSizesizesize.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

Parameters

SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (input_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

PointerPointerPointerpointerpointer (output_control)  pointer HTupleintHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Data pointer of the serialized item.

SizeSizeSizesizesize (output_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Size of the serialized item.

Result

If the parameters are valid, the operator get_serialized_item_ptrget_serialized_item_ptrGetSerializedItemPtrGetSerializedItemPtrget_serialized_item_ptr returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

create_serialized_item_ptrcreate_serialized_item_ptrCreateSerializedItemPtrCreateSerializedItemPtrcreate_serialized_item_ptr

Module

Foundation