pub unsafe fn bytes_to_uchar(
pool: *mut ngx_pool_s,
data: &[u8],
) -> Option<*mut u8>
Expand description
Convert a byte slice to a raw pointer (*mut u_char
) allocated in the given nginx memory pool.
ยงSafety
The caller must provide a valid pointer to the memory pool.