StreamManipulator Class

SharpZip Compression Library

SharpZip Compression Library

StreamManipulator Class

This class allows us to retrieve a specified number of bits from the input buffer, as well as copy big byte blocks. It uses an int buffer to store up to 31 bits for direct manipulation. This guarantees that we can get at least 16 bits, but we only need at most 15, so this is all safe. There are some optimizations in this class, for example, you must never peek more than 8 bits more than needed, and you must first peek bits before you may drop them. This is not a general purpose class but optimized for the behaviour of the Inflater. authors of the original java version : John Leuner, Jochen Hoenicke

For a list of all members of this type, see StreamManipulator Members.

System.Object    ICSharpCode.SharpZipLib.Zip.Compression.Streams.StreamManipulator

public class StreamManipulator

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: ICSharpCode.SharpZipLib.Zip.Compression.Streams

Assembly: ICSharpCode.SharpZipLib (in ICSharpCode.SharpZipLib.dll)

See Also

StreamManipulator Members | ICSharpCode.SharpZipLib.Zip.Compression.Streams Namespace