@libra-opensource/client-sdk-typescript
Version:
6 lines (5 loc) • 355 B
TypeScript
export declare type Bytes = string | Uint8Array;
export declare function bytesToBuffer(bytes: Bytes, sizeRestriction?: number): Uint8Array;
export declare function bytesFromHexString(hexString: string): Uint8Array;
export declare function bytesToHexString(bytes: Bytes | number[]): string;
export declare function concat(...element: Bytes[]): Uint8Array;