UNPKG

687 BTypeScriptView Raw
1export function createUint8ArrayFromLen(len: number): Uint8Array;
2export function createUint8ArrayViewFromArrayBuffer(buffer: ArrayBuffer, byteOffset: number, length: number): Uint8Array;
3export function createUint8ArrayFromArrayBuffer(buffer: ArrayBuffer): Uint8Array;
4/**
5 * @param {Uint8Array} bytes
6 * @return {string}
7 */
8export function toBase64(bytes: Uint8Array): string;
9/**
10 * @param {string} s
11 * @return {Uint8Array}
12 */
13export function fromBase64(s: string): Uint8Array;
14export function copyUint8Array(uint8Array: Uint8Array): Uint8Array;
15export function encodeAny(data: any): Uint8Array;
16export function decodeAny(buf: Uint8Array): any;
17//# sourceMappingURL=buffer.d.ts.map
\No newline at end of file