Tar_cstructSourcemake_in_channel buf uses buf as a source of raw tar content.
make_out_channel () returns a buffer to hold serialized tar content.
to_string oc returns the contents of oc as a string of bytes.
to_cstruct oc returns the contents of oc as a Cstruct.t.
really_read ic buf fills buf with data from ic or raises Stdlib.End_of_file
really_write oc buf writes the full contents of buf to oc or raises Stdlib.End_of_file.
get_next_header ?level ic returns the next header block or fails with `Eof if two consecutive zero-filled blocks are discovered. Assumes ic is positioned at the possible start of a header block.