UNPKG

@cloudpss/ubjson

Version:

15 lines 505 B
import type { DecodeOptions } from '../options.js'; /** decoder */ export declare class DecoderBase { readonly options?: DecodeOptions | undefined; constructor(data: BufferSource, options?: DecodeOptions | undefined); protected readonly view: DataView; protected readonly data: Uint8Array<ArrayBuffer>; /** 当前读指针位置 */ protected offset: number; /** EOF */ protected eof(): never; /** 解码 */ decode(): unknown; } //# sourceMappingURL=decoder.d.ts.map