A transform stream that counts bytes passing through without modifying the data. Useful for tracking data transfer size, monitoring progress, or validating content-length headers. The main export uses ...
When serializing Unicode strings into bytes, there are several different strategies to choose from. UTF-16 is one such format, and it tranforms each codepoint (character) into two or four bytes. Since ...