org.apache.commons.io.input

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.
    • Method Detail

Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.