Skip to content

Commit 33f9445

Browse files
committed
Update README with var-length interpretation
1 parent e4c8bca commit 33f9445

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

codec/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ handling of the data structures required by the protocol.
2828
Protocol logic constraints are validated through dedicated STF test vectors and
2929
any other future vectors focused on logic testing.
3030

31+
## Variable-length integers
32+
33+
We provide variable-length encoding solely for the prefix of variable-length
34+
sequences.
35+
36+
Although this may not be explicitly stated for some internal types within the
37+
encoded structures, we follow the guideline from the GP that immediately follows
38+
the variable-length definition. The relevant sentence is as follows:
39+
40+
> *Note that at present this is utilized only in encoding the length prefix of variable-length sequences.*
41+
3142
## Vectors
3243

3344
- [refine_context](data/refine_context.json)

0 commit comments

Comments
 (0)