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.

Properties

Name Type Description
sourceStream inout(InputStream) The stream that is wrapped by this one
empty bool
leastSize ulong
dataAvailableForRead bool

Methods

Name Description
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.