import type { Serialize } from '@chzky/core'; /** ## `U8HEXConverter` : @example Usage : Uint8Array和Hex的相互转换器 ```ts const HW = 'hello world' const u8 = new TextEncoder().encode(HW) const hex = '68656c6c6f20776f726c64' const hex_fake = '68656c6c6f20776f726c60' const c_hex = U8HEXConverter.serialize(u8) assert(c_hex.length === u8.length * 2) assert(hex === c_hex) assert_reverse(hex_fake === c_hex) const str = new TextDecoder().decode(U8HEXConverter.deserialize(c_hex)) assert(str === HW) ``` @category Encode */ export declare const U8HEXConverter: Serialize; //# sourceMappingURL=hex.d.ts.map