Skip to content

Commit

Permalink
Added cpp tag to C++ code snippet in readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-strasser committed Nov 10, 2017
1 parent 0d820ab commit 3b439a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The constructor takes a file name and optionally a data source. If no data sourc
`some_string_type` can be a `std::string` or a `char*`. If the data source is a `std::FILE*` then the library will take care of calling `std::fclose`. If it is a `std::istream` then the stream is not closed by the library. For best performance open the streams in binary mode. However using text mode also works. `ByteSourceBase` provides an interface that you can use to implement further data sources.
```
```cpp
class ByteSourceBase{
public:
virtual int read(char*buffer, int size)=0;
Expand Down

0 comments on commit 3b439a6

Please sign in to comment.