Parser
import { Parser } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
class Parser { }
constructor(dispatcher: Dispatcher<ParserEvent>);
argBuf?: DenoBuffer;
as: number;
dispatcher: Dispatcher<ParserEvent>;
drop: number;
hdr: number;
ma: MsgArg;
msgBuf?: DenoBuffer;
state: State;
cloneMsgArg();
fail(data: Uint8Array, label?): Error;
parse(buf: Uint8Array): void;
processHeaderMsgArgs(arg: Uint8Array): void;
processMsgArgs(arg: Uint8Array): void;
protoParseInt(a: Uint8Array): number;
§Constructors
§
new Parser(dispatcher: Dispatcher<ParserEvent>)
[src]§Properties
§
argBuf: DenoBuffer
[src]§
dispatcher: Dispatcher<ParserEvent>
[src]§
msgBuf: DenoBuffer
[src]