parsePgRange
Parses a PostgreSQL range type from its binary format.
Return
The parsed PgRange.
Parameters
data
The byte array containing the payload.
offset
The starting position in the byte array.
oid
The OID of the range type.
typeRegistry
Registry to look up types and codecs.