"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.deserializeTlv = void 0;
function deserializeTlv(reader) {
    const type = reader.readBigSize();
    const length = reader.readBigSize();
    const body = reader.readBytes(Number(length));
    return { type, length, body };
}
exports.deserializeTlv = deserializeTlv;
//# sourceMappingURL=deserializeTlv.js.map