DeflaterHuffman.BitReverse Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

DeflaterHuffman.BitReverse Method 

Reverse the bits of a 16 bit value.

public static short BitReverse(
   int toReverse
);

Parameters

toReverse
Value to reverse bits

Return Value

Value with bits reversed

See Also

DeflaterHuffman Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace