Code example for LittleEndianDataInputStream

Methods: readShort

0
 
    @Override 
    public short readShort() 
    { 
        try { 
            return dataInputStream.readShort();
        } 
        catch (IOException e) {
            throw new RuntimeIOException(e);
        } 
    } 
 
    @Override 
    public byte readByte() 
    { 
        try { 
            return dataInputStream.readByte();
        } 
        catch (IOException e) {
            throw new RuntimeIOException(e);