Class CircularInputStream

    • Constructor Detail

      • CircularInputStream

        public CircularInputStream​(byte[] repeatContent,
                                   long targetByteCount)
        Creates an instance from the specified array of bytes.
        Parameters:
        repeatContent - Input buffer to be repeated this buffer is not copied.
        targetByteCount - How many bytes the read. A negative number means an infinite target count.