We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
模块提供一个 API,用于以保留编码的多字节UTF-8和UTF-16字符的方式将Buffer对象解码为字符串
UTF-8
UTF-16
Buffer
将 Buffer 实例写入 StringDecoder 实例时,将使用内部缓冲区来确保已解码的字符串不包含任何不完整的多字节字符。 它们保存在缓冲区中,直到下一次调用 stringDecoder.write() 或调用 stringDecoder.end() 为止。
StringDecoder
stringDecoder.write()
stringDecoder.end()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
模块提供一个 API,用于以保留编码的多字节
UTF-8
和UTF-16
字符的方式将Buffer
对象解码为字符串文档部分
将
Buffer
实例写入StringDecoder
实例时,将使用内部缓冲区来确保已解码的字符串不包含任何不完整的多字节字符。 它们保存在缓冲区中,直到下一次调用stringDecoder.write()
或调用stringDecoder.end()
为止。stringDecoder.write()
或stringDecoder.end()
The text was updated successfully, but these errors were encountered: