"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createAvroEncoder = void 0;
var avro = require("avro-js");
/** The avro encoder constructor */
function createAvroEncoder(schema) {
    return new avro.streams.BlockEncoder(schema);
}
exports.createAvroEncoder = createAvroEncoder;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXZyb0ZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJBdnJvRmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFzQkEsOEJBQWdDO0FBS2hDLG1DQUFtQztBQUNuQyxTQUFnQixpQkFBaUIsQ0FBQyxNQUF1QjtJQUN2RCxPQUFPLElBQUksSUFBSSxDQUFDLE9BQU8sQ0FBQyxZQUFZLENBQUMsTUFBTSxDQUFDLENBQUM7QUFDL0MsQ0FBQztBQUZELDhDQUVDIn0=