pub unsafe extern "C" fn aws_byte_buf_write_from_whole_string(
buf: *mut aws_byte_buf,
src: *const aws_string
) -> bool
Expand description
Copies all bytes from string to buf.
On success, returns true and updates the buf pointer/length accordingly. If there is insufficient space in the buf, returns false, leaving the buf unchanged.