Code example for DataInput

Methods: skipBytes

0
        return new float[0]; 
    } 
     
    public void skip(int samples) throws IOException {
        int remaining = header.getNpts()-ptsRead;
        in.skipBytes(samples<remaining?samples:remaining);
        ptsRead+=samples<remaining?samples:remaining;
    } 
     
    public int getNumRemaining() { 
        return header.getNpts()-ptsRead;
    } 
     
    public int getNumRead() { 
        return ptsRead;
    } 
     
    DataInput in;
    SacHeader header;
    int chunkSize;