parsePgRange

fun parsePgRange(data: ByteArray, offset: Int, oid: Int, scope: CodecScope): 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.

scope

The dictionaries this codec resolves nested values through.