mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-26 02:57:58 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
import type { AnyString, HexString } from '../types.js';
|
||||
/**
|
||||
* @name stringToHex
|
||||
* @summary Creates a hex string from a utf-8 string
|
||||
* @description
|
||||
* String input values return the actual encoded hex value.
|
||||
* @example
|
||||
* <BR>
|
||||
*
|
||||
* ```javascript
|
||||
* import { stringToHex } from '@pezkuwi/util';
|
||||
*
|
||||
* stringToU8a('hello'); // 0x68656c6c6f
|
||||
* ```
|
||||
*/
|
||||
export declare function stringToHex(value?: AnyString): HexString;
|
||||
Reference in New Issue
Block a user