Bal*_*usC 17
开球示例:
RandomAccessFile raf = new RandomAccessFile(file, "rw");
try {
raf.seek(5); // Go to byte at offset position 5.
raf.write(70); // Write byte 70 (overwrites original byte at this offset).
} finally {
raf.close(); // Flush/save changes and close resource.
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4099 次 |
| 最近记录: |