반응형

NSFileHandle *file = [NSFileHandle fileHandleForReadingAtPath:@"filePath"];
    if (file == nil)
    {
        NSLog(@"Failed to open file");
    }
   
    [file seekToFileOffset:10];
    NSData *databuffer = [file readDataOfLength:5];
   
    [file closeFile];

반응형
Posted by 컴스터
,