read_cstring

Function read_cstring 

Source
pub fn read_cstring(data: &[u8]) -> Result<(&[u8], &[u8])>
Expand description

Read null-terminated string (PostgreSQL String type). Returns the string bytes (without the null terminator) and remaining data.