public override unsafe float DecodeBinary(DataRow row, PostgresClientState state) { PostgresTypeConverter.DemandDataLength(row, 4); var asint = BinaryBuffer.ReadIntNetwork(row.Data, 0); return(*(float *)&asint); }
protected int GetInt4(DataRow row) { return(BinaryBuffer.ReadIntNetwork(row.Data, 0)); }