搜索 npm 上的 JavaScript 依赖包
Detect if a buffer is utf8 encoded.
Extremely fast utf8 only stream implementation
Encode JavaScript strings in UTF8
Remove a UTF8 BOM at the start of the stream.
Truncate string to given length in bytes
A well-tested UTF-8 encoder/decoder written in JavaScript.
Brings utf8 de/encoding to all platforms.
Get utf8 byte length of string