39 #define FASTQ_EOF 255u
87 void open(
const char* filename);
105 std::vector<uint8> m_buffer;
125 void open(
const char* filename);
133 bool valid()
const {
return m_file != NULL; }
141 std::vector<uint8> m_buffer;
162 template <
typename FASTQ_stream>
188 template <
typename Writer>
193 uint8 get() {
return m_stream->get(); };
200 FASTQ_stream* m_stream;
202 std::vector<char> m_name;
203 std::vector<uint8> m_read_bp;
204 std::vector<uint8> m_read_q;