chromium/ui/gfx/image/buffer_w_stream.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/354829279): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "ui/gfx/image/buffer_w_stream.h"

#include <utility>

namespace gfx {

BufferWStream::BufferWStream() = default;

BufferWStream::~BufferWStream() = default;

std::vector<uint8_t> BufferWStream::TakeBuffer() {}

bool BufferWStream::write(const void* buffer, size_t size) {}

size_t BufferWStream::bytesWritten() const {}

}  // namespace gfx