postgres_protocol::types

Function int2_from_sql

source
pub fn int2_from_sql(buf: &[u8]) -> Result<i16, Box<dyn Error + Sync + Send>>
Expand description

Deserializes an INT2 value.