xiot-core-xcp-ts
Version:
13 lines (12 loc) • 481 B
TypeScript
export declare function StringToUint8Array(s: string): Uint8Array;
export declare function Unit8ArrayToString(fileData: Uint8Array): string;
/**
* copy from mipher
*/
export declare function Bin2Base64(bin: Uint8Array, url?: boolean): string;
/**
* copy from mipher
*/
export declare function Base642Bin(base64: string): Uint8Array;
export declare function BytesJoin(a: Uint8Array, b: Uint8Array): Uint8Array;
export declare function Utf8ArrayToStr(array: Uint8Array): string;