Package-level declarations
Types
Link copied to clipboard
Grow-on-demand byte buffer. Pure Kotlin (no platform OutputStream), so it works in commonMain across every target, and it stores into a contiguous primitive array rather than boxing into a MutableList<Byte>. The bencode encoder and the peer wire-protocol codec both build their output through this.