UNPKG

@nestjs/microservices

Version:

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

9 lines (8 loc) 302 B
/// <reference types="node" /> 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; }