Skip to content

Commit

Permalink
addressing review
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Feb 26, 2019
1 parent 6054e53 commit 5ce60fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-structures.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ if ((shift <size) && (sign bit of byte is set))

# Filecoin Compact Serialization

Datastructures in Filecoin are encoded as compactly as is reasonable. At a high level, each object is converted into an ordered array of its fields, then CBOR marshaled, and prepended with an object type tag.
Datastructures in Filecoin are encoded as compactly as is reasonable. At a high level, each object is converted into an ordered array of its fields (ordered by their appearance in the struct declaration), then CBOR marshaled, and prepended with an object type tag.

| object | tag |
|---|---|
Expand All @@ -296,4 +296,4 @@ Each individual type should be encoded as specified:
| Uint64 | CBOR major type 0 |
| BigInteger | [CBOR bignum](https://tools.ietf.org/html/rfc7049#section-2.4.2) |
| Address | CBOR major type 2 |

| Uint8 | CBOR Major type 0 |

0 comments on commit 5ce60fd

Please sign in to comment.