klyn.databases.sql.postgresql.PostgreSQLResultSet.getBytes
method
public getBytes(column as Object) as Byte[] throws SQLException
Description

Decodes the current bytea column, preserving SQL NULL and empty bytes.

Parameters
ParameterDescription
columnOne-based index or column label.
Returns

Binary content, or null for SQL NULL.

Throws
  • SQLException If the cursor/column is invalid or bytea is malformed. Example: bytes = rows.getBytes("payload").