libnexa-ts
Version:
A pure and powerful Nexa SDK library.
15 lines • 518 B
TypeScript
import { BufferParams } from '../common/interfaces';
export default class Base58 {
private static readonly ALPHABET;
private buf?;
constructor(obj?: string | Uint8Array | BufferParams);
toBuffer(): Uint8Array | undefined;
toString(): string;
private fromBuffer;
private fromString;
private set;
static encode(buf: Uint8Array): string;
static decode(str: string): Uint8Array;
static validCharacters(chars: Uint8Array | string): boolean;
}
//# sourceMappingURL=base58.d.ts.map