Functions

  • template <endianness big_endian>
    bool validate_as_ascii (const char16_t * data, size_t len)

    Defined at line 9 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • template <endianness big_endian>
    bool validate (const char16_t * data, size_t len)

    Defined at line 21 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • template <endianness big_endian>
    uint16_t swap_if_needed (uint16_t c)

    Defined at line 27 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/swap_bytes.h

  • template <endianness big_endian>
    result validate_with_errors (const char16_t * data, size_t len)

    Defined at line 50 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • template <endianness big_endian>
    size_t count_code_points (const char16_t * p, size_t len)

    Defined at line 79 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • template <endianness big_endian>
    size_t utf8_length_from_utf16 (const char16_t * p, size_t len)

    Defined at line 90 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • template <endianness big_endian>
    size_t utf32_length_from_utf16 (const char16_t * p, size_t len)

    Defined at line 107 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • void change_endianness_utf16 (const char16_t * input, size_t size, char16_t * output)

    Defined at line 118 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • template <endianness big_endian>
    size_t trim_partial_utf16 (const char16_t * input, size_t length)

    Defined at line 126 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • template <endianness big_endian>
    bool is_high_surrogate (char16_t c)

    Defined at line 137 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • template <endianness big_endian>
    bool is_low_surrogate (char16_t c)

    Defined at line 142 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • bool high_surrogate (char16_t c)

    Defined at line 147 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • template <endianness big_endian>
    result utf8_length_from_utf16_with_replacement (const char16_t * p, size_t len)

    Defined at line 152 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • template <endianness big_endian>
    char16_t replacement ()

    variable templates are a C++14 extension

    Defined at line 184 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h

  • template <endianness big_endian>
    void to_well_formed_utf16 (const char16_t * input, size_t len, char16_t * output)

    Defined at line 189 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/scalar/utf16.h