25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithStream: (OFSeekableStream *)stream
offset: (OFFileOffset)offset
whence: (int)whence
errNo: (int)errNo
{
return [[[self alloc] initWithStream: stream
offset: offset
whence: whence
errNo: errNo] autorelease];
}
- (instancetype)init
{
OF_INVALID_INIT_METHOD
}
- (instancetype)initWithStream: (OFSeekableStream *)stream
offset: (OFFileOffset)offset
whence: (int)whence
errNo: (int)errNo
{
self = [super init];
_stream = [stream retain];
_offset = offset;
|
|
|
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithStream: (OFSeekableStream *)stream
offset: (OFStreamOffset)offset
whence: (int)whence
errNo: (int)errNo
{
return [[[self alloc] initWithStream: stream
offset: offset
whence: whence
errNo: errNo] autorelease];
}
- (instancetype)init
{
OF_INVALID_INIT_METHOD
}
- (instancetype)initWithStream: (OFSeekableStream *)stream
offset: (OFStreamOffset)offset
whence: (int)whence
errNo: (int)errNo
{
self = [super init];
_stream = [stream retain];
_offset = offset;
|