parsePgComposite

fun parsePgComposite(data: ByteArray, offset: Int, oid: Int, typeRegistry: TypeRegistry): PgComposite

Parses a PostgreSQL composite type (row) from its binary format.

Return

The parsed PgComposite.

Parameters

data

The byte array containing the payload.

offset

The starting position in the byte array.

oid

The OID of the composite type.

typeRegistry

Registry to look up types and codecs.