UNPKG

271 BTypeScriptView Raw
1import { KafkaParserConfig } from '../interfaces';
2export declare class KafkaParser {
3 protected readonly keepBinary: boolean;
4 constructor(config?: KafkaParserConfig);
5 parse<T = any>(data: any): T;
6 decode(value: Buffer): object | string | null | Buffer;
7}