Skip to content

Commit

Permalink
Describe preview method
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmymathews committed Jun 6, 2024
1 parent d592348 commit 3103a44
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/cells.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ The memory map is as follows:
The ellipsis represents repetition of the per-cell section once for each cell. This is 4 + 4 + 4 + 8 = 20 bytes per cell. The "header" preceding the per-cell sections is 20 bytes.

A representation of an example of the cell sections can be found [here](https://github.com/nadeemlab/SPT/blob/main/test/apiserver/module_tests/celldata.dump).

There is a convenient way to preview the contents at the command line using `xxd`:

```sh
tail -c +21 payload.bin | xxd -b -c 20
```

(The initial `tail` command strips out the header.)

0 comments on commit 3103a44

Please sign in to comment.