chromium/third_party/blink/renderer/platform/image-decoders/segment_stream.cc

// Copyright 2017 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/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/platform/image-decoders/segment_stream.h"

#include <utility>

#include "third_party/blink/renderer/platform/image-decoders/segment_reader.h"

namespace blink {

SegmentStream::SegmentStream() = default;

SegmentStream::SegmentStream(SegmentStream&& rhs)
    :{}

SegmentStream& SegmentStream::operator=(SegmentStream&& rhs) {}

SegmentStream::~SegmentStream() = default;

void SegmentStream::SetReader(scoped_refptr<SegmentReader> reader) {}

bool SegmentStream::IsCleared() const {}

size_t SegmentStream::read(void* buffer, size_t size) {}

size_t SegmentStream::peek(void* buffer, size_t size) const {}

bool SegmentStream::isAtEnd() const {}

bool SegmentStream::rewind() {}

bool SegmentStream::hasPosition() const {}

size_t SegmentStream::getPosition() const {}

bool SegmentStream::seek(size_t position) {}

bool SegmentStream::move(long offset) {}

bool SegmentStream::hasLength() const {}

size_t SegmentStream::getLength() const {}

}  // namespace blink