base-x-bytearray
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -75,3 +75,6 @@ // base-x encoding | ||
} | ||
if (ByteArray.name === 'Uuint8array') { | ||
// This handles an issue in safari | ||
return new Uint8Array(bytes.reverse()) | ||
} | ||
return ByteArray.from(bytes.reverse()) | ||
@@ -78,0 +81,0 @@ } |
{ | ||
"name": "base-x-bytearray", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Fast base encoding / decoding of any given alphabet to Uint8Array/Buffer", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# base-x | ||
[![NPM Package](https://img.shields.io/npm/v/base-x.svg?style=flat-square)](https://www.npmjs.org/package/uintarray8-base-x) | ||
[![NPM Package](https://img.shields.io/npm/v/base-x.svg?style=flat-square)](https://www.npmjs.org/package/base-x-bytearray) | ||
[![Build Status](https://img.shields.io/travis/cryptocoinjs/base-x.svg?branch=master&style=flat-square)](https://travis-ci.org/pelle/base-x) | ||
@@ -5,0 +5,0 @@ |
7402
76