BufferedRandomAccessFile (BRAF for short) is a /// RandomAccessFile containing an extra buffer. When the BRAF is /// accessed, it checks if the requested part of the file is in the buffer or /// not. If that is the case, the read/write is done on the buffer. If not, the /// file is uppdated to reflect the current status of the buffer and the file /// is then accessed for a new buffer containing the requested byte/bit. /// ///
Signed or unsigned data can be written. To write a signed /// value just pass the byte value as an argument. To /// write unsigned data pass the int value as an argument /// (it will be automatically casted, and only the 8 least /// significant bits will be written). /// ///