Skip to content

Instantly share code, notes, and snippets.

@epickrram
Created June 4, 2015 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epickrram/987e89bab669b1010568 to your computer and use it in GitHub Desktop.
Save epickrram/987e89bab669b1010568 to your computer and use it in GitHub Desktop.
RandomAccessFile.write()
/*
From http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/java/io/RandomAccessFile.java#l492
*/
public void write(byte b[], int off, int len) throws IOException {
writeBytes(b, off, len);
}
// ...
/*
From http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/java/io/RandomAccessFile.java#l470
*/
private native void writeBytes(byte b[], int off, int len) throws IOException;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment