PgOutputStream
A highly optimized, buffered output stream tailored for the PostgreSQL wire protocol.
It provides specialized methods for efficiently writing protocol primitives like bytes, integers, shorts, and null-terminated C-style strings. Internal buffering minimizes the number of underlying network write operations.