silc_buffer_realloc_size

SYNOPSIS

    static inline
    SilcBuffer silc_buffer_realloc_size(SilcBuffer sb, SilcUInt32 newsize);

DESCRIPTION

Same as silc_buffer_realloc but moves moves the tail area automatically so that the buffer is ready to use without calling the silc_buffer_pull_tail. Returns NULL if system is out of memory.