FMIceLinkByteInputStream Class Reference
| Inherits from | NSObject | 
|---|---|
| Declared in | FMIceLinkByteInputStream.h FMIceLinkByteInputStream.m  | 
– available
	
Gets the number of available bytes for reading.
			- (int)availableDiscussion
Gets the number of available bytes for reading.
			Declared In
FMIceLinkByteInputStream.h
+ byteInputStreamWithBytes:
	
Initializes a new instance of the FMIceLinkByteInputStream class.
			+ (FMIceLinkByteInputStream *)byteInputStreamWithBytes:(NSMutableData *)bytesParameters
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)offsetParameters
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 *)bytesParameters
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)offsetParameters
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)markDiscussion
Marks the current position for a later [reset](#//api/name/reset).
			Declared In
FMIceLinkByteInputStream.h
– read
	
Reads a value from the byte array.
			- (int)readReturn 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)lengthReturn 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)resetDiscussion
Resets the stream to the marked position.
			Declared In
FMIceLinkByteInputStream.h
– skipWithN:
	
Advances the stream position by the amount specified.
			- (int)skipWithN:(int)nParameters
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