Skip to main content

Module wire

Module wire 

Source
Expand description

Pre-computed wire bytes for the most common responses. Writing these directly to the output buffer avoids per-field serialization overhead.

Constantsยง

NEG_ONE
:-1\r\n
NULL
_\r\n
OK
+OK\r\n
ONE
:1\r\n
PONG
+PONG\r\n
ZERO
:0\r\n