to-utf8

0.0.2 • Public • Published

to-utf8

given an integer-indexable input iterable, produce a utf8 string.

Build Status browser support

  var utf8 = require('to-utf8')
 
  var buf = new Buffer('淾淾淾 hello world 淾淾 yep ƒuu 淾', 'utf8')
  assert.equal(utf8(buf), buf.toString('utf8'))

api

utf8(iterable[, byteStart][, byteEnd]) -> string

take an iterable of bytes (0...0xFF) and produce an utf8 string.

license

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.214latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.214
0.0.1177,950

Package Sidebar

Install

npm i to-utf8

Weekly Downloads

177,964

Version

0.0.2

License

MIT

Last publish

Collaborators

  • chrisdickinson