// BgzfStream_p.h (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
-// Last modified: 10 October 2011(DB)
+// Last modified: 25 October 2011(DB)
// ---------------------------------------------------------------------------
// Based on BGZF routines developed at the Broad Institute.
// Provides the basic functionality for reading & writing BGZF files
// We mean it.
#include "api/api_global.h"
+#include "api/BamAux.h"
#include "api/IBamIODevice.h"
#include <string>
bool m_isWriteCompressed;
IBamIODevice* m_device;
- struct RaiiWrapper {
- RaiiWrapper(void);
- ~RaiiWrapper(void);
- char* UncompressedBlock;
- char* CompressedBlock;
- };
- RaiiWrapper Resources;
+ RaiiBuffer m_uncompressedBlock;
+ RaiiBuffer m_compressedBlock;
};
} // namespace Internal