1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #include "core/fxcrt/fx_stream.h"
8
WriteBlock(const void * pData,size_t size)9 bool IFX_SeekableWriteStream::WriteBlock(const void* pData, size_t size) {
10 return WriteBlock(pData, GetSize(), size);
11 }
12
IsEOF()13 bool IFX_SeekableReadStream::IsEOF() {
14 return false;
15 }
16
GetPosition()17 FX_FILESIZE IFX_SeekableReadStream::GetPosition() {
18 return 0;
19 }
20
ReadBlock(void * buffer,size_t size)21 size_t IFX_SeekableReadStream::ReadBlock(void* buffer, size_t size) {
22 return 0;
23 }
24
WriteBlock(const void * buffer,size_t size)25 bool IFX_SeekableStream::WriteBlock(const void* buffer, size_t size) {
26 return WriteBlock(buffer, GetSize(), size);
27 }
28