private static void FeedFile( Unpacker pac, String path ) { var input = new FileStream( path, FileMode.Open ); byte[] buffer = new byte[ 64 * 1024 ]; while ( true ) { int count = input.Read( buffer, 0, buffer.Length ); if ( count <= 0 ) { break; } pac.Feed( buffer ); } }