From cf1ac1a9ab1c831bd9bcc6e9437d5cca15cc90b6 Mon Sep 17 00:00:00 2001 From: Kazuki Ota Date: Thu, 11 May 2023 03:19:43 +0900 Subject: [PATCH] fix version. --- README.md | 4 ++-- library.properties | 4 ++-- src/arduino_base64.hpp | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index befd012..19a653f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![actions:test](https://github.com/dojyorin/arduino_base64/actions/workflows/test.yaml/badge.svg) ![actions:release](https://github.com/dojyorin/arduino_base64/actions/workflows/release.yaml/badge.svg) -Convert between binary and Base64. +Convert between binary and Base64 encoded string. Easily convert sensor raw values, structures, etc. # Example @@ -27,7 +27,7 @@ base64::decode(data, result); The only export of this library will be [`arduino_base64.hpp`](./src/arduino_base64.hpp). Other source files are for internal use and should not normally be include. -This is library made to convert binary data (e.g. raw sensor values) to Base64. +This is library made to convert binary data (e.g. raw sensor values) to Base64 encoded string. String can be convert by cast them to byte arrays, but that's not what this library is for, nor do we plan to provide a means. If you want to convert string, use this library and implement the wrapper functions yourself. diff --git a/library.properties b/library.properties index d1f2c6d..cd12cc6 100644 --- a/library.properties +++ b/library.properties @@ -1,9 +1,9 @@ name=base64_encode author=dojyorin -version=3.0.0 +version=2.0.0 architectures=* includes=arduino_base64.hpp -sentence=Convert between binary and Base64. +sentence=Convert between binary and Base64 encoded string. paragraph=Easily convert sensor raw values, structures, etc. category=Other maintainer=https://github.com/dojyorin diff --git a/src/arduino_base64.hpp b/src/arduino_base64.hpp index 089afe5..e07ba0c 100644 --- a/src/arduino_base64.hpp +++ b/src/arduino_base64.hpp @@ -4,12 +4,12 @@ #include "string.h" /** -* Convert between binary and Base64. +* Convert between binary and Base64 encoded string. * @see https://github.com/dojyorin/arduino_base64 */ namespace base64{ /** - * Convert binary to Base64. + * Convert binary to Base64 encoded string. * If the input is string, cast it to `uint8_t*`. * @param input Binary data. * @param inputLength Number of input bytes. @@ -25,7 +25,7 @@ namespace base64{ size_t encodeLength(size_t inputLength); /** - * Convert Base64 to binary. + * Convert Base64 encoded string to binary. * If the output is string, cast it to `char*`. * @param input Base64 encoded string. * @param output Binary data.