Skip to content

Commit 194364a

Browse files
authored
Update data types
We have a new flat array type
1 parent 3e8df0b commit 194364a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/protocol/data-types.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ type symbols ( `tsymbol` s) and additional information.
1010
|--|--|--|
1111
|+|String|the next line is a string|
1212
|!|Response Code|the next line is a response code|
13+
|&|Array|Arrays that can be recursive|
14+
|_|Flat array|An array that only has strings|
1315
|$|JSON|the next line is a `JSON` value|
14-
|-|smallint|An integer in the range: [0, 255]|
15-
|_|smallint signed|An integer in the range: [-128, 127]|
16+
|.|smallint|An integer in the range: [0, 255]|
17+
|-|smallint signed|An integer in the range: [-128, 127]|
1618
|:|int|An integer in the range: [0, 4,294,967,295]|
1719
|;|int signed|An integer in the range: [-2,147,483,647, 2,147,483,647]|
1820
|%|float|A 32-bit floating point value|
1921
|?|binary|the next line contains binary data (often called a blob)|
2022

2123

22-
Do keep the matching for this symbol _non-exhaustive_ since we might add more types in future revisions of the protocol.
24+
Do keep the matching for this symbol _non-exhaustive_ since we might add more types in future revisions of the protocol.

0 commit comments

Comments
 (0)