folly/folly/json/bser/Dump.cpp

/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#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) {}
} // namespace bser
} // namespace folly

/* vim:ts=2:sw=2:et:
 */