java.io.RandomAccessFile raf;
while(true) {
byte[] bytes = new bytes[3];
int length = rad.read(bytes, offset, bytes.length);
if(length == -1) break;
}