private int ParseTraditionalPatch(byte[] buf, int start, int end) { FileHeader fh = new FileHeader(buf, start); int ptr = fh.ParseTraditionalHeaders(start, end); ptr = ParseHunks(fh, ptr, end); fh.endOffset = ptr; AddFile(fh); return(ptr); }
private int ParseTraditionalPatch(byte[] buf, int start, int end) { FileHeader fh = new FileHeader(buf, start); int ptr = fh.ParseTraditionalHeaders(start, end); ptr = ParseHunks(fh, ptr, end); fh.endOffset = ptr; AddFile(fh); return ptr; }