Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling authored Jan 2, 2019
1 parent 5f2f398 commit b947b12
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 @@ -88,7 +88,7 @@ Currently, `vector`, `string`, and `unique_ptr` do not provide exactly the same

#### Serialization

The following methods can be used to serialize either to a `std::vector<unsigned char>` (default) or to an arbitrary serialization target.
The following methods can be used to serialize either to a `std::vector<uint8_t>` (default) or to an arbitrary serialization target.

- **`std::vector<uint8_t> cista::serialize<T>(T const&)`** serializes an object of type `T`and returns a buffer containing the serialized object.
- **`void cista::serialize<Target, T>(Target&, T const&)`** serializes an object of type `T` to the specified target. Targets are either `cista::buf` or `cista::sfile`. Custom target sturcts should provide `write` functions as described [here](#serialization).
Expand Down

0 comments on commit b947b12

Please sign in to comment.