@protobufjs/utf8
A minimal UTF8 implementation for number arrays.
Last updated 8 years ago by dcode .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @protobufjs/utf8 
SYNC missed versions from official npm registry.

@protobufjs/utf8

npm

A minimal UTF8 implementation for number arrays.

API

  • utf8.length(string: string): number
    Calculates the UTF8 byte length of a string.

  • utf8.read(buffer: Uint8Array, start: number, end: number): string
    Reads UTF8 bytes as a string.

  • utf8.write(string: string, buffer: Uint8Array, offset: number): number
    Writes a string as UTF8 bytes.

License: BSD 3-Clause License

Current Tags

  • 1.1.0                                ...           latest (8 years ago)

9 Versions

  • 1.1.0                                ...           8 years ago
  • 1.0.7                                ...           8 years ago
  • 1.0.6                                ...           8 years ago
  • 1.0.5                                ...           8 years ago
  • 1.0.4                                ...           8 years ago
  • 1.0.3                                ...           8 years ago
  • 1.0.2                                ...           8 years ago
  • 1.0.1                                ...           8 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (2)
Downloads
Total 6
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE