Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 475 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 475 Bytes

io-buffer

Example how use it (iterate characters from IOBuffer::IOReader):

#include <iostream>
#include <io-buffer.h>

int main (int argc, char** argv) {
    IOBuffer::IOFileReader fileReader("some-file.txt");
    IOBuffer::CharStream charStream(&fileReader);
    std::cout << "First symbol: " << charStream.getNext() << std::endl;
    return 0;
}

Build library:

cmake .
make
make install

How tests:

cmake .
make
./io-buffer-tests