#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/image-decoders/fast_shared_buffer_reader.h"
namespace blink {
FastSharedBufferReader::FastSharedBufferReader(
scoped_refptr<SegmentReader> data)
: … { … }
FastSharedBufferReader::~FastSharedBufferReader() = default;
void FastSharedBufferReader::SetData(scoped_refptr<SegmentReader> data) { … }
void FastSharedBufferReader::ClearCache() { … }
const char* FastSharedBufferReader::GetConsecutiveData(size_t data_position,
size_t length,
char* buffer) const { … }
size_t FastSharedBufferReader::GetSomeData(const char*& some_data,
size_t data_position) const { … }
void FastSharedBufferReader::GetSomeDataInternal(size_t data_position) const { … }
}