pub fn deserialize_datum(data: impl Buf, ty: &DataType) -> Result<Datum>
Deserialize bytes into a datum (Not order guarantee, used in value encoding).