FMIceLinkIFileStream Protocol Reference
| Declared in | FMIceLinkIFileStream.h |
|---|
– close
required method
- (void)closeDiscussion
Declared In
FMIceLinkIFileStream.h
– exists
required method
- (bool)existsDiscussion
Declared In
FMIceLinkIFileStream.h
– flush
required method
- (bool)flushDiscussion
Declared In
FMIceLinkIFileStream.h
– length
required method
- (long long)lengthDiscussion
Declared In
FMIceLinkIFileStream.h
– openWithAccess:
required method
- (void)openWithAccess:(FMIceLinkFileStreamAccess)accessParameters
access |
The access requirement. |
|---|
Discussion
Declared In
FMIceLinkIFileStream.h
– path
required method
- (NSString *)pathDiscussion
Declared In
FMIceLinkIFileStream.h
– position
required method
- (long long)positionDiscussion
Declared In
FMIceLinkIFileStream.h
– readWithData:index:length:
required method
- (int)readWithData:(NSMutableData *)data index:(int)index length:(int)lengthParameters
data |
The buffer to fill with data from the file. |
|---|---|
index |
The index at which to start writing. |
length |
The maximum number of bytes to read. |
Return Value
The number of bytes read from the file.
Discussion
Declared In
FMIceLinkIFileStream.h
– setPosition:
required method
- (void)setPosition:(long long)valueDiscussion
Declared In
FMIceLinkIFileStream.h
– writeToWithLocation:data:index:length:
required method
- (bool)writeToWithLocation:(int)location data:(NSMutableData *)data index:(int)index length:(int)lengthParameters
location |
The location to write to. |
|---|---|
data |
The data to write to the file. |
index |
The index at which to start reading. |
length |
The number of bytes to write. |
Return Value
true if the data was written; otherwise, false.
Discussion
Declared In
FMIceLinkIFileStream.h
– writeWithData:index:length:
required method
- (bool)writeWithData:(NSMutableData *)data index:(int)index length:(int)lengthParameters
data |
The data to write. |
|---|---|
index |
The index at which to start reading. |
length |
The number of bytes to write. |
Return Value
true if the data was written; otherwise, false.
Discussion
Declared In
FMIceLinkIFileStream.h