StreamManipulator.PeekBits Method

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

[Visual Basic]
Public Function PeekBits( _
   ByVal n As Integer _
) As Integer
[C#]
public int PeekBits(
   int n
);

Return Value

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

See Also

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