#include <folly/json/bser/Bser.h>
#include <folly/io/Cursor.h>
usingnamespacefolly;
serialization_opts;
QueueAppender;
namespace folly {
namespace bser {
const uint8_t kMagic[2] = …;
static void bserEncode(
dynamic const& dyn,
QueueAppender& appender,
const serialization_opts& opts);
serialization_opts::serialization_opts()
: … { … }
static const dynamic* getTemplate(
const serialization_opts& opts, dynamic const& dynArray) { … }
static void bserEncodeInt(int64_t ival, QueueAppender& appender) { … }
static void bserEncodeString(folly::StringPiece str, QueueAppender& appender) { … }
static void bserEncodeArraySimple(
dynamic const& dyn,
QueueAppender& appender,
const serialization_opts& opts) { … }
static void bserEncodeArray(
dynamic const& dyn,
QueueAppender& appender,
const serialization_opts& opts) { … }
static void bserEncodeObject(
dynamic const& dyn,
QueueAppender& appender,
const serialization_opts& opts) { … }
static void bserEncode(
dynamic const& dyn,
QueueAppender& appender,
const serialization_opts& opts) { … }
std::unique_ptr<folly::IOBuf> toBserIOBuf(
folly::dynamic const& dyn, const serialization_opts& opts) { … }
fbstring toBser(dynamic const& dyn, const serialization_opts& opts) { … }
}
}