@flarenetwork/flarejs
Version:
Flare Platform JS Library
12 lines • 418 B
TypeScript
import { Primitives } from './primatives';
import { TypeSymbols } from '../constants';
export declare class Bytes extends Primitives {
private readonly bytes;
_type: TypeSymbols;
constructor(bytes: Uint8Array);
toString(encoding?: 'utf8' | 'hex'): string;
toJSON(): string;
static fromBytes(buf: Uint8Array): [Bytes, Uint8Array];
toBytes(): Uint8Array;
}
//# sourceMappingURL=bytes.d.ts.map