Function hyper::ffi::hyper_buf_bytes[][src]

#[no_mangle]
pub extern "C" fn hyper_buf_bytes(buf: *const hyper_buf) -> *const u8
Expand description

Get a pointer to the bytes in this buffer.

This should be used in conjunction with hyper_buf_len to get the length of the bytes data.

This pointer is borrowed data, and not valid once the hyper_buf is consumed/freed.