parsePgRange

fun parsePgRange(data: ByteArray, offset: Int, oid: Int, typeRegistry: TypeRegistry): PgRange

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.