// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_INSPECTOR_V8_INSPECTOR_PROTOCOL_ENCODING_H_ #define V8_INSPECTOR_V8_INSPECTOR_PROTOCOL_ENCODING_H_ #include "../../third_party/inspector_protocol/encoding/encoding.h" namespace v8_inspector { ::v8_inspector_protocol_encoding::Status ConvertCBORToJSON( ::v8_inspector_protocol_encoding::span cbor, std::vector* json); ::v8_inspector_protocol_encoding::Status ConvertJSONToCBOR( ::v8_inspector_protocol_encoding::span json, std::vector* cbor); ::v8_inspector_protocol_encoding::Status ConvertJSONToCBOR( ::v8_inspector_protocol_encoding::span json, std::vector* cbor); } // namespace v8_inspector #endif // V8_INSPECTOR_V8_INSPECTOR_PROTOCOL_ENCODING_H_