PG::TextEncoder::

Bytea class

This is an encoder class for the PostgreSQL bytea type.

The binary String is converted to hexadecimal representation for transmission in text format. For query bind parameters it is recommended to use PG::BinaryEncoder::Bytea instead, in order to decrease network traffic and CPU usage.