Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 229182e

Browse files
committed
Combine descriptions of true and false boolean tags.
1 parent a43f8e3 commit 229182e

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

encodings/BinaryEncoding.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,9 @@ each type of tag can appear multiple times.
124124
* `tag_key` is `tag_key_len` bytes comprising the tag key name.
125125
* `tag_val` is 8 bytes, a little-endian int64, representing the tag value.
126126

127-
#### True boolean tag
127+
#### Boolean tag
128128

129-
* `field_id` = 2
130-
* `field_format` = `<tag_key_len><tag_key>` where
131-
132-
* `tag_key_len` is a varint encoded integer.
133-
* `tag_key` is `tag_key_len` bytes comprising the tag key name.
134-
135-
#### False boolean tag
136-
137-
* `field_id` = 3
129+
* `field_id` = 2 or 3, where 2 represents a true value and 3 represents a false value.
138130
* `field_format` = `<tag_key_len><tag_key>` where
139131

140132
* `tag_key_len` is a varint encoded integer.

0 commit comments

Comments
 (0)