@protobufjs/utf8
A minimal UTF8 implementation for number arrays.
Last updated 9 years ago by dcode .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (9 years ago)

9 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |