20#ifndef __STDC_LIMIT_MACROS
21# define __STDC_LIMIT_MACROS
23#ifndef __STDC_CONSTANT_MACROS
24# define __STDC_CONSTANT_MACROS
27#include "objfw-defs.h"
29#ifdef OF_HAVE_SYS_TYPES_H
30# include <sys/types.h>
35OF_ASSUME_NONNULL_BEGIN
39#if defined(OF_WINDOWS)
40typedef __int64 OFStreamOffset;
41#elif defined(OF_ANDROID)
42typedef long long OFStreamOffset;
43#elif defined(OF_MORPHOS)
44typedef long long OFStreamOffset;
45#elif defined(OF_HAVE_OFF64_T)
46typedef off64_t OFStreamOffset;
48typedef off_t OFStreamOffset;
88- (OFStreamOffset)seekToOffset: (OFStreamOffset)offset
105- (OFStreamOffset)lowlevelSeekToOffset: (OFStreamOffset)offset
OFSeekWhence
From where to seek.
Definition OFSeekableStream.h:54
@ OFSeekSet
Definition OFSeekableStream.h:56
@ OFSeekCurrent
Definition OFSeekableStream.h:58
@ OFSeekEnd
Definition OFSeekableStream.h:60
A stream that supports seeking.
Definition OFSeekableStream.h:75
A base class for different types of streams.
Definition OFStream.h:192