Gets the next n bits and increases input pointer. This is equivalent to peekBits followed by dropBits, except for correct error handling.
[Visual Basic]
Public Function GetBits( _
ByVal n As Integer _
) As Integer
[C#]
public int GetBits(
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