Code example for RandomAccessFile

Methods: readUnsignedShort

0
        return raf.readUnsignedByte();
    } 
 
    public int readUnsignedShort() throws IOException 
    { 
        return raf.readUnsignedShort();
    } 
 
    public long readLong() throws IOException 
    { 
        return raf.readLong();
    } 
 
    public short readShort() throws IOException 
    { 
        return raf.readShort();
    } 
 
    public boolean readBoolean() throws IOException 
    { 
Experience pair programming with AI  Get Codota for Java