SILC_STR_DATA
NAME
#define SILC_STR_DATA() ...
#define SILC_STR_DATA_ALLOC() ...
DESCRIPTION
Binary data formatting. Second argument is the length of the data.
Formatting: SILC_STR_DATA(unsigned char *, SilcUInt32)
Unformatting: SILC_STR_DATA(unsigned char **, SilcUInt32)
This type can be used to take arbitrary size data block from the buffer
by sending the requested amount of bytes as argument.
_ALLOC routines automatically allocates memory for the variable sent
as argument in unformatting.
|