pub unsafe extern "C" fn aws_byte_buf_reset(
    buf: *mut aws_byte_buf,
    zero_contents: bool
)
Expand description

Resets the len of the buffer to 0, but does not free the memory. The buffer can then be reused. Optionally zeroes the contents, if the “zero_contents” flag is true.