#include "test/inspector/utils.h"
#include <vector>
#include "include/v8-inspector.h"
#include "include/v8-primitive.h"
namespace v8 {
namespace internal {
std::vector<uint8_t> ToBytes(v8::Isolate* isolate, v8::Local<v8::String> str) { … }
v8::Local<v8::String> ToV8String(v8::Isolate* isolate, const char* str) { … }
v8::Local<v8::String> ToV8String(v8::Isolate* isolate,
const std::vector<uint8_t>& bytes) { … }
v8::Local<v8::String> ToV8String(v8::Isolate* isolate,
const std::string& buffer) { … }
v8::Local<v8::String> ToV8String(v8::Isolate* isolate,
const std::vector<uint16_t>& buffer) { … }
v8::Local<v8::String> ToV8String(v8::Isolate* isolate,
const v8_inspector::StringView& string) { … }
std::vector<uint16_t> ToVector(v8::Isolate* isolate,
v8::Local<v8::String> str) { … }
}
}