Package-level declarations

Types

Link copied to clipboard
class ByteArrayBuilder(initialCapacity: Int = 64)

A minimal growable byte buffer. It is the pure-Kotlin equivalent of a ByteArrayOutputStream, with no java.io dependency, so it lives in commonMain. Amortised O(1) append by doubling. Used by the DEFLATE encoder and the gzip and zlib framers.