chromium/third_party/pdfium/core/fxcrt/cfx_memorystream.cpp

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

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "core/fxcrt/cfx_memorystream.h"

#include <algorithm>
#include <utility>

#include "core/fxcrt/fx_safe_types.h"
#include "core/fxcrt/stl_util.h"

CFX_MemoryStream::CFX_MemoryStream() = default;

CFX_MemoryStream::~CFX_MemoryStream() = default;

FX_FILESIZE CFX_MemoryStream::GetSize() {}

bool CFX_MemoryStream::IsEOF() {}

FX_FILESIZE CFX_MemoryStream::GetPosition() {}

bool CFX_MemoryStream::Flush() {}

pdfium::span<const uint8_t> CFX_MemoryStream::GetSpan() const {}

bool CFX_MemoryStream::ReadBlockAtOffset(pdfium::span<uint8_t> buffer,
                                         FX_FILESIZE offset) {}

bool CFX_MemoryStream::WriteBlock(pdfium::span<const uint8_t> buffer) {}