/**
 *   Generated file. Do not edit
 */
import "./converter-stream-extension";
import { TapStreamReader } from "@iotize/tap/client/impl";
import { TapStreamWriter } from "@iotize/tap/client/impl";
var TapnpassProtocolConfigurationConverter = /** @class */ (function () {
    function TapnpassProtocolConfigurationConverter() {
    }
    TapnpassProtocolConfigurationConverter.prototype.encode = function (model, stream) {
        if (stream === void 0) { stream = new TapStreamWriter(); }
        stream.writeTapnpassProtocolConfiguration(model);
        return stream.toBytes;
    };
    TapnpassProtocolConfigurationConverter.prototype.decode = function (data) {
        var stream = data instanceof TapStreamReader ? data : TapStreamReader.create(data);
        return stream.readTapnpassProtocolConfiguration();
    };
    return TapnpassProtocolConfigurationConverter;
}());
export { TapnpassProtocolConfigurationConverter };
var AdpStatsConverter = /** @class */ (function () {
    function AdpStatsConverter() {
    }
    AdpStatsConverter.prototype.encode = function (model, stream) {
        if (stream === void 0) { stream = new TapStreamWriter(); }
        stream.writeAdpStats(model);
        return stream.toBytes;
    };
    AdpStatsConverter.prototype.decode = function (data) {
        var stream = data instanceof TapStreamReader ? data : TapStreamReader.create(data);
        return stream.readAdpStats();
    };
    return AdpStatsConverter;
}());
export { AdpStatsConverter };
var AdpControlInConverter = /** @class */ (function () {
    function AdpControlInConverter() {
    }
    AdpControlInConverter.prototype.encode = function (model, stream) {
        if (stream === void 0) { stream = new TapStreamWriter(); }
        stream.writeAdpControlIn(model);
        return stream.toBytes;
    };
    AdpControlInConverter.prototype.decode = function (data) {
        var stream = data instanceof TapStreamReader ? data : TapStreamReader.create(data);
        return stream.readAdpControlIn();
    };
    return AdpControlInConverter;
}());
export { AdpControlInConverter };
var AdpControlOutConverter = /** @class */ (function () {
    function AdpControlOutConverter() {
    }
    AdpControlOutConverter.prototype.encode = function (model, stream) {
        if (stream === void 0) { stream = new TapStreamWriter(); }
        stream.writeAdpControlOut(model);
        return stream.toBytes;
    };
    AdpControlOutConverter.prototype.decode = function (data) {
        var stream = data instanceof TapStreamReader ? data : TapStreamReader.create(data);
        return stream.readAdpControlOut();
    };
    return AdpControlOutConverter;
}());
export { AdpControlOutConverter };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVydGVycy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bpb3RpemUvdGFwL3NlcnZpY2UvaW1wbC90YXBucGFzcy8iLCJzb3VyY2VzIjpbImxpYi9nZW5lcmF0ZWQvY29udmVydGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE9BQU8sOEJBQThCLENBQUM7QUFTdEMsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzFELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUkxRDtJQUFBO0lBaUJBLENBQUM7SUFmUSx1REFBTSxHQUFiLFVBQ0UsS0FBb0MsRUFDcEMsTUFBK0M7UUFBL0MsdUJBQUEsRUFBQSxhQUE4QixlQUFlLEVBQUU7UUFFL0MsTUFBTSxDQUFDLGtDQUFrQyxDQUFDLEtBQUssQ0FBQyxDQUFDO1FBQ2pELE9BQU8sTUFBTSxDQUFDLE9BQU8sQ0FBQztJQUN4QixDQUFDO0lBRU0sdURBQU0sR0FBYixVQUNFLElBQWtDO1FBRWxDLElBQU0sTUFBTSxHQUNWLElBQUksWUFBWSxlQUFlLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsZUFBZSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUN4RSxPQUFPLE1BQU0sQ0FBQyxpQ0FBaUMsRUFBRSxDQUFDO0lBQ3BELENBQUM7SUFDSCw2Q0FBQztBQUFELENBQUMsQUFqQkQsSUFpQkM7O0FBRUQ7SUFBQTtJQWNBLENBQUM7SUFiUSxrQ0FBTSxHQUFiLFVBQ0UsS0FBZSxFQUNmLE1BQStDO1FBQS9DLHVCQUFBLEVBQUEs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