Sha256: c3a2b03d1001839a95354ca2ad9602aab9387099e3a408d26e53af4f73045828

Contents?: true

Size: 748 Bytes

Versions: 1

Compression:

Stored size: 748 Bytes

Contents

// Type definitions for base64-js 1.3
// Project: https://github.com/beatgammit/base64-js
// Definitions by: Peter Safranek <https://github.com/pe8ter>
//                 Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * Takes a base64 string and returns length of byte array
 */
export function byteLength(encoded: string): number;
/**
 * Takes a base64 string and returns a byte array
 */
export function toByteArray(encoded: string): Uint8Array;
/**
 * Takes a byte array and returns a base64 string
 */
export function fromByteArray(bytes: Uint8Array): string;

/**
 * base64-js does basic base64 encoding/decoding in pure JS.
 */
export as namespace base64js;

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waves_lib-0.1.0 js/node_modules/@types/base64-js/index.d.ts