vg
tools for working with variation graphs
Namespaces | Functions
hfile_cppstream.hpp File Reference
#include <htslib/hfile.h>
#include <istream>
#include <ostream>

Namespaces

 vg
 
 vg::io
 

Functions

hFILE * vg::io::hfile_wrap (std::ostream &output)
 Wrap a C++ output stream as an hFILE* that can be written by BGZF. More...
 
hFILE * vg::io::hfile_wrap (std::istream &input)
 Wrap a C++ input stream as an hFILE* that can be read by BGZF. More...
 

Detailed Description

hFILE* C++ streams wrapper Modeled on https://github.com/samtools/htslib-plugins/blob/master/hfile_mmap.c