silc_buffer_put
SYNOPSIS
static inline unsigned char *silc_buffer_put(SilcBuffer sb, const unsigned char *data, SilcUInt32 len);
DESCRIPTION
Puts data at the start of the valid data area. Returns a pointer to the copied data area. Returns NULL if the data is longer than the current data area.
EXAMPLE
--------------------------------- | head | data | tail | --------------------------------- ^ Puts data to the data section. silc_buffer_put(sb, data, data_len);