Writes a boolean as 0x01 (true) or 0x00 (false).
Writes a single byte.
Returns the assembled bytes.
Writes an SSH mpint from an unsigned big-endian magnitude.
Writes an SSH name-list (a string of comma-joined names).
Writes raw bytes with no length prefix.
Writes an SSH string: a uint32 length prefix followed by the bytes.
Writes a big-endian uint32.
Writes a big-endian uint64.
Builds an SSH packet payload from RFC 4251 primitive types.