Skip to content

Commit d67a4dc

Browse files
author
richardbergquist
committed
Readme table formatting.
1 parent 04b4e0f commit d67a4dc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ The bytes used in the codec prefix need to be unambigious. Pick a used reserved
211211

212212
| name | code | delimiter | sample data | example encoding | decoding [codec] [data] |
213213
|----------|--------|-----------|--------------|--------------------|-----------------------------------|
214-
| cidv1 | 0x01 | 0x00 | 0xA1E9D3D8EC | 0x0100A1E9D3D8EC | 0x [0100] [A1E9D3D8EC] -> cidv1 |
215-
| upd | 0x0111 | 0x00 | 0xA1E9D3D8EC | 0x011100A1E9D3D8EC | 0x [011100] [A1E9D3D8EC] -> udp |
214+
| `cidv1` | `0x01` | `0x00` | `0xA1E9D3D8EC` | `0x0100A1E9D3D8EC` | `0x` `[0100]` `[A1E9D3D8EC]` -> `cidv1` |
215+
| `upd` | `0x0111` | `0x00` | `0xA1E9D3D8EC` | `0x011100A1E9D3D8EC` | `0x` `[011100]` `[A1E9D3D8EC]` -> `udp` |
216216

217217

218218
##### Pros
@@ -252,12 +252,12 @@ The bytes used in the codec prefix need to be unambiguous.
252252

253253
##### Examples
254254

255-
| name | code | reserved byte | sample data | example encoding | decoding: [rb?][codec][rb?] [data] |
256-
|----------|--------|---------------|--------------|----------------------|--------------------------------------------|
257-
| cidv1 | 0x01 | n/a | 0xA1E9D3D8EC | 0x01A1E9D3D8EC | 0x [01] [A1E9D3D8EC] -> cidv1 |
258-
| sha2_256 | 0x12 | n/a | 0xA1E9D3D8EC | 0x12A1E9D3D8EC | 0x [12] [A1E9D3D8EC] -> sha2_256 |
259-
| upd | 0x0111 | 0x00 | 0xA1E9D3D8EC | 0x00011100A1E9D3D8EC | 0x [00][0111][00] [A1E9D3D8EC] -> udp |
260-
| p256_pub | 0x1200 | 0x00 | 0xA1E9D3D8EC | 0x00120000A1E9D3D8EC | 0x [00][1200][00] [A1E9D3D8EC] -> p256_pub |
255+
| name | code | reserved byte | sample data | example encoding | decoding: [rb?][codec][rb?] [data] |
256+
|------------|----------|---------------|----------------|------------------------|----------------------------------------------------------|
257+
| `cidv1` | `0x01` | n/a | `0xA1E9D3D8EC` | `0x01A1E9D3D8EC` | `0x` `[01]` `[A1E9D3D8EC]` -> `cidv1` |
258+
| `sha2_256` | `0x12` | n/a | `0xA1E9D3D8EC` | `0x12A1E9D3D8EC` | `0x` `[12]` `[A1E9D3D8EC]` -> `sha2_256` |
259+
| `upd` | `0x0111` | `0x00` | `0xA1E9D3D8EC` | `0x00011100A1E9D3D8EC` | `0x` `[00]` `[0111]` `[00]` `[A1E9D3D8EC]` -> `udp` |
260+
| `p256_pub` | `0x1200` | `0x00` | `0xA1E9D3D8EC` | `0x00120000A1E9D3D8EC` | `0x` `[00]` `[1200]` `[00]` `[A1E9D3D8EC]` -> `p256_pub` |
261261

262262

263263
##### Pros

0 commit comments

Comments
 (0)