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