decode_response

Function decode_response 

Source
pub fn decode_response(buf: &[u8]) -> Option<Vec<Context>>
Expand description

Decode a GET /contexts response body. Returns None on any truncation or malformed field, so a partial or corrupt body is an error, not a panic. Never pre-sizes from the wire count.