mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 04:55:20 +01:00
[skip ci] Update README
This commit is contained in:
parent
7bbe2879cd
commit
0d3d8fa83e
@ -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*.
|
*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
|
## 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*`** which represents the buffer, 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 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:
|
||||||
```cpp
|
```cpp
|
||||||
std::string buffer = "James Bailey,65,2.5\nBrian S. Wolfe,40,1.9\n";
|
std::string buffer = "James Bailey,65,2.5\nBrian S. Wolfe,40,1.9\n";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user