parsePgArray

fun parsePgArray(data: ByteArray, offset: Int, oid: Int, typeRegistry: TypeRegistry): PgArray

Parses a PostgreSQL array from its binary format.

Return

The parsed PgArray.

Parameters

data

The byte array containing the payload.

offset

The starting position in the byte array.

oid

The OID of the array type.

typeRegistry

Registry to look up types and codecs.