StreamManipulator.PeekBits Method

SharpZip Compression Library

SharpZip Compression Library

StreamManipulator.PeekBits Method 

Get the next n bits but don't increase input pointer. n must be less or equal 16 and if this call succeeds, you must drop at least n - 8 bits in the next call.

public int PeekBits(
   int n
);

Return Value

the value of the bits, or -1 if not enough bits available. */

See Also

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