silc_buffer_copy

SYNOPSIS

    static inline
    SilcBuffer silc_buffer_copy(SilcBuffer sb);

DESCRIPTION

Generates copy of a SilcBuffer. This copies everything inside the currently valid data area, nothing more. Use silc_buffer_clone to copy entire buffer. Returns NULL if system is out of memory.