Skip to content

API project #2

@WojciechMula

Description

@WojciechMula

https://github.com/lemire/simdutf/blob/19a0db4cc5938abdf1893ae58ae472648ceff8fd/include/simdutf/implementation.h#L10

Let me share my vision of API, i.e. what function should we provide:

simdutf::validate_utf8
simdutf::validate_utf16
simdutf::utf8_to_utf16 -- with error checking
simdutf::utf16_to_utf8 -- with error checking
simdutf::unchecked::utf8_to_utf16 -- without error checking
simdutf::unchecked::utf16_to_utf8 -- without error checking

// maybe later
simdutf::utf8_length
simdutf::utf16_length

Do you think it makes sense?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions