Class DataRange


  • public class DataRange
    extends Object
    A DataRange describes a range of bytes with an offset and length.
    Author:
    Netherlands Forensic Institute
    • Constructor Detail

      • DataRange

        public DataRange​(long offset,
                         long length)
        Creates a DataRange which describes a range of bytes.
        Parameters:
        offset - the starting point of the data
        length - the size of the data
    • Method Detail

      • getOffset

        public long getOffset()
      • getLength

        public long getLength()
      • setOffset

        public void setOffset​(long offset)
      • setLength

        public void setLength​(long length)