import { Decoder as CompactDecoder } from '../compact/Decoder';
import { decoder } from '@jsonjoy.com/json-pack/lib/msgpack/util';
export class Decoder {
    decoder = new CompactDecoder();
    decode(uint8) {
        const json = decoder.read(uint8);
        const doc = this.decoder.decode(json);
        return doc;
    }
}
//# sourceMappingURL=Decoder.js.map