Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@protobufjs/utf8

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@protobufjs/utf8

A minimal UTF8 implementation for number arrays.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
27M
increased by7.09%
Maintainers
2
Weekly downloads
 
Created
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

Package last updated on 25 Jan 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc