Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
class Parser
import { Parser } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.ts";

Constructors

new
Parser(dispatcher: Dispatcher<ParserEvent>)

Properties

optional
argBuf: DenoBuffer
as: number
dispatcher: Dispatcher<ParserEvent>
drop: number
hdr: number
ma: MsgArg
optional
msgBuf: DenoBuffer
state: State

Methods

fail(data: Uint8Array, label?): Error
parse(buf: Uint8Array): void
processHeaderMsgArgs(arg: Uint8Array): void
processMsgArgs(arg: Uint8Array): void
protoParseInt(a: Uint8Array): number