SilcUInt32 silc_buffer_len(SilcBuffer sb)
Returns the current length of the data area of the buffer.
#define silc_buffer_len(x) (SilcUInt32)((x)->tail - (x)->data)