mirror of
https://github.com/red0124/ssp.git
synced 2025-01-22 20:55:18 +01:00
[skip ci] Update README
This commit is contained in:
parent
0d3d8fa83e
commit
899a6e6f5e
@ -212,7 +212,7 @@ This works with the iteration loop too.
|
||||
*Note, the order in which the members of the tied method are returned must match the order of the elements in the CSV*.
|
||||
|
||||
## Buffer mode
|
||||
The parser also works with buffers containing CSV data instead of files. To parse buffer data with the parser simply create it by passing it the buffer as a **`const char*`** and its size. The initial example using a buffer instead of a file would look like this:
|
||||
The parser also works with buffers containing CSV data instead of files. To parse buffer data with the parser simply create the parser by giving it the buffer, as **`const char*`**, and its size. The initial example using a buffer instead of a file would look similar to this:
|
||||
```cpp
|
||||
std::string buffer = "James Bailey,65,2.5\nBrian S. Wolfe,40,1.9\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user