Socket
Socket
Sign inDemoInstall

@protobufjs/utf8

Package Overview
Dependencies
0
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @protobufjs/utf8

A minimal UTF8 implementation for number arrays.


Version published
Weekly downloads
12M
increased by0.26%
Maintainers
2
Install size
23.9 kB
Created
Weekly downloads
 

Readme

Source

@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

FAQs

Last updated on 25 Jan 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc