Skip to content

[API] Use std::vector<uint8_t> instead of std:string #16

Open
@da2ce7

Description

When looking through the design of sodiumpp, I'm curious of the choice of std:string.

I would have thought that the more natural format for binary data (or UTF-8 encoded text), was std::vector<uint8_t>.

Was/Is is there a special reason for the choice of std::string ?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions