15 #ifndef SHAKA_EMBEDDED_MAPPING_BYTE_STRING_H_ 16 #define SHAKA_EMBEDDED_MAPPING_BYTE_STRING_H_ 36 static std::string
name() {
41 explicit ByteString(
const std::string& source);
44 using std::vector<uint8_t>::vector;
47 bool TryConvert(Handle<JsValue> value)
override;
48 ReturnVal<JsValue>
ToJsValue()
const override;
54 #endif // SHAKA_EMBEDDED_MAPPING_BYTE_STRING_H_ ReturnVal< JsValue > ToJsValue() const override
bool TryConvert(Handle< JsValue > value) override
static std::string name()
ByteString(const char *source)
void Trace(memory::HeapTracer *tracer) const override