In the docs there is a todo: "Better document how to inspect the compressed vs. decompressed sizes of a block."
I removed it for now to avoid confusion. When thinking about how to actually better document that I realized there's not currently an easy enough way to do it. There is asdf_ndarray_block and asdf_block_size, but the latter returns the uncompressed size only, and there aren't functions to get other data out of the block header. Might also be worth adding a function that can expose the full block header struct directly (at least a read-only version).
In the docs there is a todo: "Better document how to inspect the compressed vs. decompressed sizes of a block."
I removed it for now to avoid confusion. When thinking about how to actually better document that I realized there's not currently an easy enough way to do it. There is
asdf_ndarray_blockandasdf_block_size, but the latter returns the uncompressed size only, and there aren't functions to get other data out of the block header. Might also be worth adding a function that can expose the full block header struct directly (at least a read-only version).