20#import "OFException.h"
23OF_ASSUME_NONNULL_BEGIN
34 OFStreamOffset _offset;
48@property (readonly, nonatomic) OFStreamOffset offset;
58@property (readonly, nonatomic)
int errNo;
70 offset: (OFStreamOffset)offset
74+ (instancetype)exception OF_UNAVAILABLE;
86 offset: (OFStreamOffset)offset
88 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
90- (instancetype)init OF_UNAVAILABLE;
OFSeekWhence
From where to seek.
Definition OFSeekableStream.h:54
The base class for all exceptions in ObjFW.
Definition OFException.h:155
An exception indicating that seeking in a stream failed.
Definition OFSeekFailedException.h:32
A stream that supports seeking.
Definition OFSeekableStream.h:75