"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ConverterFunctionAdapter = /** @class */ (function () {
    function ConverterFunctionAdapter(decoder, encoder) {
        this.decoder = decoder;
        this.encoder = encoder;
    }
    ConverterFunctionAdapter.prototype.encode = function (value) {
        return this.encoder(value);
    };
    ConverterFunctionAdapter.prototype.decode = function (value) {
        return this.decoder(value);
    };
    return ConverterFunctionAdapter;
}());
exports.ConverterFunctionAdapter = ConverterFunctionAdapter;
