blob: 309b4196776788a9e5399b3df204fb99e8e182cc [file] [log] [blame]
// Copyright 2024 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/fxcodec/data_and_bytes_consumed.h"
#include <utility>
namespace fxcodec {
DataAndBytesConsumed::DataAndBytesConsumed(DataVector<uint8_t> data,
uint32_t bytes_consumed)
: data(std::move(data)), bytes_consumed(bytes_consumed) {}
DataAndBytesConsumed::DataAndBytesConsumed(DataAndBytesConsumed&&) noexcept =
default;
DataAndBytesConsumed& DataAndBytesConsumed::operator=(
DataAndBytesConsumed&&) noexcept = default;
DataAndBytesConsumed::~DataAndBytesConsumed() = default;
} // namespace fxcodec