FMIceLinkBZip2Decompressor Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | FMIceLinkBZip2Decompressor.h FMIceLinkBZip2Decompressor.m |
+ decompressorWithInput:
+ (FMIceLinkBZip2Decompressor *)decompressorWithInput:(FMIceLinkDataBuffer *)inputParameters
input |
The input. |
|---|
Discussion
Declared In
FMIceLinkBZip2Decompressor.h
– initWithInput:
- (instancetype)initWithInput:(FMIceLinkDataBuffer *)inputParameters
input |
The input. |
|---|
Discussion
Declared In
FMIceLinkBZip2Decompressor.h
– readByte
- (int)readByteReturn Value
the byte read from the stream, or -1 if EOF
Discussion
Declared In
FMIceLinkBZip2Decompressor.h
– readWithBuffer:offset:count:
To decompress a BZip2 data stream, create a BZip2InputStream,
providing a stream that reads compressed data. Then call Read() on
that BZip2InputStream, and the data read will be decompressed
as you read.
A BZip2InputStream can be used only for Read(), not for Write().
- (int)readWithBuffer:(NSMutableData *)buffer offset:(int)offset count:(int)countParameters
buffer |
The buffer into which the read data should be placed. |
|---|---|
offset |
the offset within that data array to put the first byte read. |
count |
the number of bytes to read. |
Return Value
the number of bytes actually read
Discussion
To decompress a BZip2 data stream, create a BZip2InputStream,
providing a stream that reads compressed data. Then call Read() on
that BZip2InputStream, and the data read will be decompressed
as you read.
A BZip2InputStream can be used only for Read(), not for Write().
Declared In
FMIceLinkBZip2Decompressor.h