UNPKG

@avalabs/avalanchejs

Version:
13 lines 448 B
import { Primitives } from './primatives'; import { TypeSymbols } from '../constants'; export declare class Bytes extends Primitives { readonly bytes: Uint8Array; _type: TypeSymbols; constructor(bytes: Uint8Array); toString(encoding?: 'utf8' | 'hex'): string; toJSON(): string; static fromBytes(buf: Uint8Array): [Bytes, Uint8Array]; toBytes(): Uint8Array; get length(): number; } //# sourceMappingURL=bytes.d.ts.map