tapeimage¶
#include <lfp/tapeimage.h>
Functions
-
lfp_protocol *lfp_tapeimage_open(lfp_protocol*)¶
Tape Image Format (TIF)
The tape image is an encapsulation format developed for well logs. The file is segmented into records, each preceeded by a record marker of three 4-byte little-endian integers - a record type, offset of the previous record, and offset of the next record. All offsets are absolute, so the file size is limited to 4GB.
The tapeimage protocol provides a view of as if the record markers were not present.
lfp_seek()
andlfp_tell()
consider offsets as if the file had no tape markers.The protocol can be opened at any tapemark within a file. Tells will start at that tapemark, meaning any previous records are unreachable by the protocol. Note that it is not possible to open the protocol in the middle of a record.