ObjFW  Diff

Differences From Artifact [32fe9f37fd]:

To Artifact [1a0bc9c6ea]:


77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	return [OFString stringWithFormat:
	    @"Failed to read or write %zu bytes in a stream of type "
	    @"%@! " ERRFMT, _requestedLength, [_stream class], ERRPARAM];
}

- (OFStream*)stream
{
	OF_GETTER(_stream, false)
}

- (size_t)requestedLength
{
	return _requestedLength;
}








|







77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	return [OFString stringWithFormat:
	    @"Failed to read or write %zu bytes in a stream of type "
	    @"%@! " ERRFMT, _requestedLength, [_stream class], ERRPARAM];
}

- (OFStream*)stream
{
	OF_GETTER(_stream, true)
}

- (size_t)requestedLength
{
	return _requestedLength;
}