src/doge/patcher/FilePatcher.java
public static void writeBytes(RandomAccessFile fh, int location, byte[] bytes)
            throws IOException {
        fh.seek(location);
        fh.write(bytes);
    }
/**
     * Overwrite a series of bytes starting from location
     *
     * @param fh RandomAccessFile for better performance
     * @param location starting location of the patch
     * @param bytes series of bytes
     */
Overwrite a series of bytes starting from location
@param fh RandomAccessFile for better performance
@param location starting location of the patch
@param bytes series of bytes
Overwrite a series of bytes starting from location @param fh RandomAccessFile for better performance @param location starting location of the patch @param bytes series of bytes
public static void writeBytes(RandomAccessFile fh, int location, byte[] bytes)
            throws IOException {
        fh.seek(location);
        fh.write(bytes);
    }
public static void writeBytes ( RandomAccessFile fh , int location , byte [ ] bytes ) throws IOException { fh . seek ( location ) ; fh . write ( bytes ) ; }
Overwrite a series of bytes starting from location
 @param fh RandomAccessFile for better performance
 @param location starting location of the patch
 @param bytes series of bytes
Overwrite a series of bytes starting from location @param fh RandomAccessFile for better performance @param location starting location of the patch @param bytes series of bytes