All elements are CRLF terminated. CRLF in the examples mean additional CRLFs.
| Syntax | Type | null? | empty? | data/value |
|---|---|---|---|---|
+ |
Simple string | no | + |
ASCII string, non-binary safe |
- |
Simple error string | no | - |
ASCII string, non-binary safe |
: |
Integer | no | no | ASCII-represented 64bit integer |
$(integer)CRLF(data) |
Bulk | $0CRLF |
$-1 |
Binary safe chunk of bytes |
*(integer) |
Array | *0 |
*-1 |
Array header holding a length/null indicator |