Class LimitedInputStream

Wraps an existing stream, limiting the amount of data that can be read.

Inherits from

Constructors

Name Description
this Constructs a limited stream from an existing input stream.

Methods

Name Description
sourceStream The stream that is wrapped by this one
empty
leastSize
dataAvailableForRead
increment
peek
read

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.