# protobufjs_base64_arkts **Repository Path**: ArkTSCentralRepository/protobufjs_base64_arkts ## Basic Information - **Project Name**: protobufjs_base64_arkts - **Description**: A minimal base64 implementation for number arrays. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-27 - **Last Updated**: 2025-04-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # protobufjs_base64_arkts 基于protobufjs/base64原库1.0.2版本进行适配, 所有功能代码已经转换为`ArkTS`文件 ## Install ```sh ohpm install protobufjs_base64_arkts ``` API --- * **base64.length(string: `string`): `number`**
Calculates the byte length of a base64 encoded string. * **base64.encode(buffer: `Uint8Array`, start: `number`, end: `number`): `string`**
Encodes a buffer to a base64 encoded string. * **base64.decode(string: `string`, buffer: `Uint8Array`, offset: `number`): `number`**
Decodes a base64 encoded string to a buffer. **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)