#ifdef UNSAFE_BUFFERS_BUILD
#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 { … }
}