remove the cstruct dependency (#137)
remove the cstruct dependency
* Minor refactor
* Use write_(sub)string
Then we don't need to do unsafe conversion to bytes.
* The indice start from an offset but still is absolute. We must take in account this detail into our unmarshal_string implementation
* seek_in expects an absolute value where tar wants to move relatively
from the last position - fix the global_Extended_headers_test
* Fix how we parse parameters (and optimise the loop to be tailcall) from
the usage of String.index_from
* Replace Bytes.create by Bytes.make (and initialise buffer with \000)
* Update Tar_gz to manipulate only string & bytes instead of bistring
* upgrade tar-mirage with the new interface
* Upgrade the implementation of tar-eio
* Tar_gz: Remove unused functions from the READER module type
* Fix Tar_mirage
* tar-mirage: undo some cstruct.t -> bytes conversions
* whitespace cleanup
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Co-authored-by: Calascibetta Romain <romain.calascibetta@gmail.com>
Co-authored-by: Kate <kit-ty-kate@outlook.com>
9fdff0
-
Feb 02 12:38 +00:00