xHarbour Reference Documentation > Function Reference |
Serializes values of simple data types.
HB_SerializeSimple( <xValue> ) --> cBinaryData
The function returns the binary representation of the passed value as a character string.
Function HB_SerializeSimple() is a utility function of xHarbour's serialization system, optimized for serializing simple data types only. These are Character, Date, Logic, Memo, Numeric and undefined (NIL). Complex data types (Array, Code block, Hash and Object) must be serialized using the functions HB_Serialize().
Note: refer to the file source\rtl\hbserial.prg for a usage example of HB_SerializeSimple().
See also: | HB_Deserialize(), HB_DeserialBegin(), HB_Serialize() |
Category: | Serialization functions , xHarbour extensions |
Source: | rtl\hbsrlraw.c, rtl\hbserial.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com