FMIceLinkByteInputStream Class Reference
Inherits from | NSObject |
---|---|
Declared in | FMIceLinkByteInputStream.h FMIceLinkByteInputStream.m |
– available
Gets the number of available bytes for reading.
- (int)available
Discussion
Gets the number of available bytes for reading.
Declared In
FMIceLinkByteInputStream.h
+ byteInputStreamWithBytes:
Initializes a new instance of the FMIceLinkByteInputStream class.
+ (FMIceLinkByteInputStream *)byteInputStreamWithBytes:(NSMutableData *)bytes
Parameters
bytes |
The bytes. |
---|
Discussion
Initializes a new instance of the FMIceLinkByteInputStream class.
Declared In
FMIceLinkByteInputStream.h
+ byteInputStreamWithBytes:offset:
Initializes a new instance of the FMIceLinkByteInputStream class.
+ (FMIceLinkByteInputStream *)byteInputStreamWithBytes:(NSMutableData *)bytes offset:(int)offset
Parameters
bytes |
The bytes. |
---|---|
offset |
The offset. |
Discussion
Initializes a new instance of the FMIceLinkByteInputStream class.
Declared In
FMIceLinkByteInputStream.h
– initWithBytes:
Initializes a new instance of the FMIceLinkByteInputStream class.
- (instancetype)initWithBytes:(NSMutableData *)bytes
Parameters
bytes |
The bytes. |
---|
Discussion
Initializes a new instance of the FMIceLinkByteInputStream class.
Declared In
FMIceLinkByteInputStream.h
– initWithBytes:offset:
Initializes a new instance of the FMIceLinkByteInputStream class.
- (instancetype)initWithBytes:(NSMutableData *)bytes offset:(int)offset
Parameters
bytes |
The bytes. |
---|---|
offset |
The offset. |
Discussion
Initializes a new instance of the FMIceLinkByteInputStream class.
Declared In
FMIceLinkByteInputStream.h
– mark
Marks the current position for a later [reset](#//api/name/reset).
- (void)mark
Discussion
Marks the current position for a later [reset](#//api/name/reset).
Declared In
FMIceLinkByteInputStream.h
– read
Reads a value from the byte array.
- (int)read
Return Value
The byte, or -1 if no more bytes are available for reading.
Discussion
Reads a value from the byte array.
Declared In
FMIceLinkByteInputStream.h
– readWithBuffer:offset:length:
Reads a segment from the byte array.
- (int)readWithBuffer:(NSMutableData *)buffer offset:(int)offset length:(int)length
Return Value
The number of bytes read.
Discussion
Reads a segment from the byte array.
Declared In
FMIceLinkByteInputStream.h
– reset
Resets the stream to the marked position.
- (void)reset
Discussion
Resets the stream to the marked position.
Declared In
FMIceLinkByteInputStream.h
– skipWithN:
Advances the stream position by the amount specified.
- (int)skipWithN:(int)n
Parameters
n |
The number of bytes to skip. |
---|
Return Value
The number of bytes skipped.
Discussion
Advances the stream position by the amount specified.
Declared In
FMIceLinkByteInputStream.h