question: public NSData ( File file ) throws IOException { bytes = new byte [ ( int ) file . length ( ) ] ; RandomAccessFile raf = new RandomAccessFile ( file , "r" ) ; raf . read ( bytes ) ; raf . close ( ) ; }
target:  Creates a NSData object from a file. Using the files contents as the contents of this NSData object.