Method ZlibInputStream.peek

Returns a temporary reference to the data that is currently buffered, typically has the size leastSize() or 0 if dataAvailableForRead() returns false.

Note that any method invocation on the same stream invalidates the contents of the returned buffer.

Prototype

const(ubyte)[] peek();

Authors

Sönke Ludwig

Copyright

© 2012-2013 RejectedSoftware e.K.

License

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