Append the low byte of each char in s directly, for pure-ASCII tokens (PDF keywords, numbers, operators). Avoids the transient ByteArray that s.encodeToByteArray() allocates per call. Callers must guarantee ASCII.
ByteArray
s.encodeToByteArray()