mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-06-14 22:51:02 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @name compactStripLength
|
||||
* @description Removes the length prefix, returning both the total length (including the value + compact encoding) and the decoded value with the correct length
|
||||
* @example
|
||||
* <BR>
|
||||
*
|
||||
* ```javascript
|
||||
* import { compactStripLength } from '@pezkuwi/util';
|
||||
*
|
||||
* console.log(compactStripLength(new Uint8Array([2 << 2, 0xde, 0xad]))); // [2, Uint8Array[0xde, 0xad]]
|
||||
* ```
|
||||
*/
|
||||
export declare function compactStripLength(input: Uint8Array): [number, Uint8Array];
|
||||
Reference in New Issue
Block a user