From 552de8b45a2e3826e0c012033d79185822a246db Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 12 Jun 2015 22:41:06 -0600 Subject: [PATCH] note similar apis, add hex --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index edd1272..13e91c3 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,14 @@ Base64, TypedArrays, and UTF-8 / Unicode conversions in Browser (and Node) JavaS See +See also + + * [TextEncoder](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encode) / [TextDecoder](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode) + * [DateView](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView) + * [text-encoding](https://github.com/inexorabletash/text-encoding) + * [TextEncoderLite (based on Buffer)](https://github.com/coolaj86/TextEncoderLite/tree/litest) + * [TextEncoderLite (based on text-encoding)](https://github.com/coolaj86/TextEncoderLite/tree/lite) + API === @@ -29,6 +37,13 @@ var uint8Array = Unibabel.base64ToArr(base64) * bufferToBase64(array) => base64 * base64ToBuffer(base64) => array +**Hex APIs** + +`unibabel.hex.js` + +* hexToBuffer(hexstr) => array +* bufferToHex(array) => hexstr + **Helper APIs** * utf8ToBinaryString(utf8str) => binstr