Minor reformatting
This commit is contained in:
parent
f0ba01ffd4
commit
0371e366ab
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@
|
||||||
_inputStream = nil;
|
_inputStream = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) writeBytesIfPossible {
|
- (void)writeBytesIfPossible {
|
||||||
while ([self.outputStream hasSpaceAvailable] && self.bytesWritten < [self.data length]) {
|
while ([self.outputStream hasSpaceAvailable] && self.bytesWritten < [self.data length]) {
|
||||||
const uint8_t *bytes = [self.data bytes];
|
const uint8_t *bytes = [self.data bytes];
|
||||||
NSInteger bytesWritten = [self.outputStream write:bytes maxLength:[self.data length] - self.bytesWritten];
|
NSInteger bytesWritten = [self.outputStream write:bytes maxLength:[self.data length] - self.bytesWritten];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue