UNPKG

@nestjs/microservices

Version:

Nest - modern, fast, powerful node.js web framework (@microservices)

8 lines (7 loc) 271 B
import { KafkaParserConfig } from '../interfaces'; export declare class KafkaParser { protected readonly keepBinary: boolean; constructor(config?: KafkaParserConfig); parse<T = any>(data: any): T; decode(value: Buffer): object | string | null | Buffer; }