Interface LimitedSource


public interface LimitedSource
Interface for a Source which can only produce up to a certain number of bytes.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the maximum number of bytes available from this source.
  • Method Details

    • getAbsoluteReadLimit

      Long getAbsoluteReadLimit()
      Return the maximum number of bytes available from this source.
      Returns:
      the max bytes this source can produce.