Class ByteRange

java.lang.Object
io.milton.zsync.ByteRange

public class ByteRange extends Object
A simple container for a Range and a reference to an InputStream.
Author:
Administrator
  • Constructor Details

    • ByteRange

      public ByteRange(Range range, InputStream queue)
      Constructs a ByteRange with the specified Range and InputStream. The dataQueue field will simply reference the specified InputStream rather than copying from it.
      Parameters:
      range -
      queue -
  • Method Details

    • getRange

      public Range getRange()
    • getDataQueue

      public InputStream getDataQueue()