Add u8a <-> BN endian (#95)

This commit is contained in:
Jaco Greeff
2018-02-21 10:59:58 +01:00
committed by GitHub
parent 46df66c5ec
commit be7d5842de
8 changed files with 30 additions and 12 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ u8aFromUtf8('hello'); // [0x68, 0x65, 0x6c, 0x6c, 0x6f]
Creates a BN from a Uint8Array object.
```js
u8aToHex (value?: Uint8Array): BN
u8aToHex (value?: Uint8Array, isLe: boolean = false): BN
```