public class InfiniteCircularInputStream extends CircularInputStream
InputStreamthat infinitely repeats the provided bytes.
Closing this input stream has no effect. The methods in this class can be called after the stream has been closed
without generating an
|Constructor and Description|
Creates an instance from the specified array of bytes.
available, close, mark, markSupported, read, read, reset, skip
public InfiniteCircularInputStream(byte repeatContent)
repeatContent- Input buffer to be repeated this buffer is not copied.
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.