tiny-blocks/encoder

任意数据的编解码器。

1.2.2 2023-06-17 15:09 UTC

This package is auto-updated.

Last update: 2024-09-22 12:50:14 UTC


README

License

概述

任意数据的编解码器。

安装

composer require tiny-blocks/encoder

如何使用

该库公开了编码和解码数据的具体实现。

使用Base62

$encoded = Base62::encode(value: 'Hello world!') # T8dgcjRGuYUueWht

Base62::decode(value: $encoded) # Hello world!

许可证

编解码器采用MIT许可证。

贡献

请遵循贡献指南以贡献到项目。