GSI - Employe Self Service Mobile
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
629 B

2 months ago
  1. @protobufjs/utf8
  2. ================
  3. [![npm](https://img.shields.io/npm/v/@protobufjs/utf8.svg)](https://www.npmjs.com/package/@protobufjs/utf8)
  4. A minimal UTF8 implementation for number arrays.
  5. API
  6. ---
  7. * **utf8.length(string: `string`): `number`**<br />
  8. Calculates the UTF8 byte length of a string.
  9. * **utf8.read(buffer: `Uint8Array`, start: `number`, end: `number`): `string`**<br />
  10. Reads UTF8 bytes as a string.
  11. * **utf8.write(string: `string`, buffer: `Uint8Array`, offset: `number`): `number`**<br />
  12. Writes a string as UTF8 bytes.
  13. **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)