23OF_ASSUME_NONNULL_BEGIN
33 OFStreamOffset _offset;
47@property (readonly, nonatomic) OFStreamOffset
offset;
57@property (readonly, nonatomic)
int errNo;
69 offset: (OFStreamOffset)offset
85 offset: (OFStreamOffset)offset
87 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
89- (instancetype)
init OF_UNAVAILABLE;
OFSeekWhence
From where to seek.
Definition OFSeekableStream.h:54
The base class for all exceptions in ObjFW.
Definition OFException.h:157
instancetype exception()
Creates a new, autoreleased exception.
Definition OFException.m:283
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696
An exception indicating that seeking in a stream failed.
Definition OFSeekFailedException.h:31
OFSeekWhence whence
To what the offset is relative.
Definition OFSeekFailedException.h:52
int errNo
The errno of the error that occurred.
Definition OFSeekFailedException.h:57
OFSeekableStream * stream
The stream for which seeking failed.
Definition OFSeekFailedException.h:42
OFStreamOffset offset
The offset to which seeking failed.
Definition OFSeekFailedException.h:47
A stream that supports seeking.
Definition OFSeekableStream.h:75