blackberry.com
BlackBerry Dynamics
Runtime library for macOS applications
from the application developer portal

GDCReadStream.h

Go to the documentation of this file.
00001 /*
00002  * (c) 2017 BlackBerry Limited. All rights reserved.
00003  */
00004 
00005 #pragma once
00006 
00007 #import <Foundation/Foundation.h>
00008 
00047 @interface GDCReadStream : NSInputStream <NSStreamDelegate> {
00048     @private
00049     void* m_internalReader;
00050     int m_streamError;
00051     unsigned int m_offset;
00052     NSStreamStatus m_streamStatus;
00053     id <NSStreamDelegate> m_delegate;
00054 }
00055 
00073 - (instancetype) initWithFile:(NSString*)filePath error:(NSError**)error;
00074 
00081 - (instancetype) initWithFile:(NSString*)filePath;
00082 
00094 - (BOOL)seekToFileOffset:(unsigned long long)offset;
00095 
00096 
00104 - (NSError*) streamError;
00105 
00106 @end