FMIceLinkIFileStream Protocol Reference
Declared in | FMIceLinkIFileStream.h |
---|
– close
required method
- (void)close
Discussion
Declared In
FMIceLinkIFileStream.h
– exists
required method
- (bool)exists
Discussion
Declared In
FMIceLinkIFileStream.h
– flush
required method
- (bool)flush
Discussion
Declared In
FMIceLinkIFileStream.h
– length
required method
- (long long)length
Discussion
Declared In
FMIceLinkIFileStream.h
– openWithAccess:
required method
- (void)openWithAccess:(FMIceLinkFileStreamAccess)access
Parameters
access |
The access requirement. |
---|
Discussion
Declared In
FMIceLinkIFileStream.h
– path
required method
- (NSString *)path
Discussion
Declared In
FMIceLinkIFileStream.h
– position
required method
- (long long)position
Discussion
Declared In
FMIceLinkIFileStream.h
– readWithData:index:length:
required method
- (int)readWithData:(NSMutableData *)data index:(int)index length:(int)length
Parameters
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)value
Discussion
Declared In
FMIceLinkIFileStream.h
– writeToWithLocation:data:index:length:
required method
- (bool)writeToWithLocation:(int)location data:(NSMutableData *)data index:(int)index length:(int)length
Parameters
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)length
Parameters
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