Parser
Defined in: packages/pgwasm/src/protocol/wire/parser.ts:78
Parses backend messages out of a byte stream that may arrive in arbitrary chunks: a message split across calls is buffered until the rest arrives.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Parser():
Parser
Returns
Section titled “Returns”Parser
Methods
Section titled “Methods”parse()
Section titled “parse()”parse(
buffer,callback):void
Defined in: packages/pgwasm/src/protocol/wire/parser.ts:84
Parameters
Section titled “Parameters”buffer
Section titled “buffer”BufferParameter
callback
Section titled “callback”Returns
Section titled “Returns”void