xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_SerialNext()

Returns the position of the next chunk of binary data to retrieve.

Syntax

HB_SerialNext( <cBinaryData> ) --> nPos

Arguments

<cBinaryData>
This is a character string obtained from one or multiple calls to HB_Serialize(). It holds the binary data of one ore more previously serialized variable(s).

Return

The function returns the starting position of the next value encoded in <cBinaryData>. This value can be passed to SubStr().

Description

Function HB_SerialNext() is a utility function of xHarbour's serialization system. It finds the position of the next chunk of binary data in the serialization string.

Note:  refer to the file source\rtl\hbserial.prg for a usage example of HB_SerialNext().

Info

See also:HB_Deserialize(), HB_GetLen8(), HB_Serialize()
Category: Serialization functions , xHarbour extensions
Source:rtl\hbsrlraw.c, rtl\hbserial.prg
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe