Style cleanups

This commit is contained in:
Ian Gulliver
2016-02-13 22:58:09 +00:00
parent 7e0d8ec2ae
commit 2f2fd22ae5

View File

@@ -6,14 +6,16 @@
## Format ## Format
All data is escaped: `0x1a -> 0x1a 0x1a`. Note that synchronization is still All data is escaped: `0x1a` -> `0x1a 0x1a`. Note that synchronization is still
complex, since `0x1a 0x31` may be the start of a frame or mid-data, depending complex, since `0x1a 0x31` may be the start of a frame or mid-data, depending
on what preceded it. To synchronize, you must see, in order: on what preceded it. To synchronize, you must see, in order:
* != 0x1a * != `0x1a`
* 0x1a * `0x1a`
* {0x31, 0x32, 0x33} * {`0x31`, `0x32`, `0x33`}
Escaping makes frame length for a given type variable, up to Escaping makes frame length for a given type variable, up to
`2 + (2 * data length)` `2 + (2 * data_length_sum)`
* Mode-AC frame * Mode-AC frame
* `0x1a 0x31` * `0x1a 0x31`