rad.resp
bytes->str
(bytes->str bs)
Decode a byte array into a UTF-8 string.
push-event?
(push-event? x)
Return true if x is a PushEvent.
read
(read in)
(read in decode)
Read a RESP3 type from a java.io.InputStream.
read-string
(read-string s)
(read-string s decode)
Read a RESP3 type from a string.
verbatim-string?
(verbatim-string? x)
Return true if x is a VerbatimString.
write
(write this out)
Write a RESP3 type into a java.io.OutputStream.
write-string
(write-string x)
Encode an object using the RESP3 protocol, return a string representation of
the result.