Package-level declarations
Types
Link copied to clipboard
Optimized buffer for building binary packets for the database. Allows reserving space for size and filling it later without memory copying.
Link copied to clipboard
A highly optimized, buffered input stream tailored for the PostgreSQL wire protocol.
Link copied to clipboard
A highly optimized, buffered output stream tailored for the PostgreSQL wire protocol.
Link copied to clipboard
internal class PgStream(val host: String, val port: Int, val loginTimeoutSecs: Int = 10, notificationBufferCapacity: Int = 256, val noticeHandler: NoticeHandler? = null, val sslConfiguration: SslConfiguration? = null, val cancelSignalTimeoutSecs: Int = 10) : AutoCloseable
Represents a connection stream to a PostgreSQL database. Handles reading and writing of PostgreSQL wire protocol messages.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Reads a 16-bit short integer from the byte array starting at offset.