mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-28 01:38:05 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
import { BN } from '../bn/index.js';
|
||||
/**
|
||||
* @name compactToU8a
|
||||
* @description Encodes a number into a compact representation
|
||||
* @example
|
||||
* <BR>
|
||||
*
|
||||
* ```javascript
|
||||
* import { compactToU8a } from '@pezkuwi/util';
|
||||
*
|
||||
* console.log(compactToU8a(511, 32)); // Uint8Array([0b11111101, 0b00000111])
|
||||
* ```
|
||||
*/
|
||||
export declare function compactToU8a(value: BN | bigint | number): Uint8Array;
|
||||
Reference in New Issue
Block a user