pub fn read_cstring(data: &[u8]) -> Result<(&[u8], &[u8])>
Read null-terminated string (PostgreSQL String type). Returns the string bytes (without the null terminator) and remaining data.