parsePgRecord
Parses an anonymous PostgreSQL record type from its binary format.
Return
The parsed PgRecord.
Parameters
data
The byte array containing the payload.
offset
The starting position in the byte array.
oid
The OID of the record type.
typeRegistry
Registry to look up types and codecs.