react-native/ReactCommon/jschelpers/Unicode.h

15 lines
247 B
C++

// Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#include <string>
#include <cstdint>
namespace facebook {
namespace react {
namespace unicode {
std::string utf16toUTF8(const uint16_t* utf16, size_t length) noexcept;
}
}
}