chromium/third_party/puffin/src/puff_writer.cc

// Copyright 2017 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "puffin/src/puff_writer.h"

#include <algorithm>
#include <cstring>
#include <memory>
#include <string>
#include <vector>

#include "puffin/src/logging.h"

namespace puffin {

namespace {
// Writes a value to the buffer in big-endian mode. Experience showed that
// big-endian creates smaller payloads.
inline void WriteUint16ToByteArray(uint16_t value, uint8_t* buffer) {}

constexpr size_t kLiteralsMaxLength =;  // 65663
}  // namespace

bool BufferPuffWriter::Insert(const PuffData& pd) {}

bool BufferPuffWriter::FlushLiterals() {}

bool BufferPuffWriter::Flush() {}

size_t BufferPuffWriter::Size() {}

}  // namespace puffin