Skip to content

Commit

Permalink
Correction: the header will have *13* elements (including filter pipe…
Browse files Browse the repository at this point in the history
…line)
  • Loading branch information
FrancescAlted committed Aug 30, 2019
1 parent 9755813 commit d12d63c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README_FRAME_FORMAT.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The header of a frame is encoded via `msgpack <https://msgpack.org>`_ and it fo
| | | +--[msgpack] int32
| | +---magic number, currently "b2frame"
| +------[msgpack] str with 8 elements
+---[msgpack] fixarray with X=0xC (12) elements
+---[msgpack] fixarray with X=0xD (13) elements

|-18|-19|-1A|-1B|-1C|-1D|-1E|-1F|-20|-21|-22|-23|-24|-25|-26|-27|-28|-29|-2A|-2B|-2C|-2D|-2E|
| a4|_f0|_f1|_f2|_f3| d3| uncompressed_size | d3| compressed_size |
Expand Down
2 changes: 1 addition & 1 deletion blosc/frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void *new_header_frame(blosc2_schunk *schunk, blosc2_frame *frame) {

// The msgpack header starts here
*h2p = 0x90; // fixarray...
*h2p += 12; // ...with 12 elements
*h2p += 13; // ...with 13 elements
h2p += 1;

// Magic number
Expand Down

0 comments on commit d12d63c

Please sign in to comment.