public static native void
Class initializer, to initialize various JNI stuff
public native long
read(long size, long nMemb)¶
Read elements of a file.
- size – of each element
- nMemb – is the number of elements of data to write
the actually read size
public native void
seek(long offset, long origin)¶
Write elements into a file.
- offset – : number of bytes to offset from origin
- origin – : Position used as reference for the offset. It is specified by one of the following constants defined in <stdio.h> exclusively to be used as arguments for this function (SEEK_SET = beginning of file, SEEK_CUR = current position of the file pointer, SEEK_END = end of file)