Files
d926245278 predicate: document predicate results size cap (#943)
* predicate: document predicate results size cap

* Update predicate/Results.md

Co-authored-by: Darioush Jalali <[email protected]>
Signed-off-by: aaronbuchwald <[email protected]>

---------

Signed-off-by: aaronbuchwald <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
2023-10-11 11:42:32 -07:00

12 lines
286 B
Markdown

# Predicate
This package contains the predicate data structure and its encoding and helper functions to unpack/pack the data structure.
## Encoding
A byte slice of size N is encoded as:
1. Slice of N bytes
2. Delimiter byte `0xff`
3. Appended 0s to the nearest multiple of 32 bytes