UNPKG

@kafkajs/confluent-schema-registry

Version:

ConfluentSchemaRegistry is a library that makes it easier to interact with the Confluent schema registry, it provides convenient methods to encode, decode and register new schemas using the Apache Avro serialization format.

8 lines 284 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = (buffer) => ({ magicByte: buffer.slice(0, 1), registryId: buffer.slice(1, 5).readInt32BE(0), payload: buffer.slice(5, buffer.length), }); //# sourceMappingURL=wireDecoder.js.map