-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge compression / decompression #85
Conversation
peturhelgi
commented
Nov 28, 2022
- Add compression and decompression
- Add command line arguments for compressing and decompressing files
- Add members to Bustools_opt related to compression
- Add struct for compressed header
- Add parsing/writing functions for a compressed header
- Add other utilities for compression
src/bustools_compress.cpp
Outdated
#include "BUSData.h" | ||
#include "bustools_compress.h" | ||
|
||
size_t pfd_blocksize = 1024; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
passar ekki við default 512 sem er í opt.
src/bustools_decompress.cpp
Outdated
#include "BUSData.h" | ||
#include "bustools_compress.h" | ||
#include "bustools_decompress.h" | ||
size_t d_pfd_blocksize = 1024; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to fix default pdf_blocksize mismatch between default value in opt and the one in the code.