Expert: Returns prefix coded bits after reducing the precision by
CopyC#
shift
bits. This is method is used by {@link IntRangeBuilder}.

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static string IntToPrefixCoded(
	int val,
	int shift
)
Visual Basic
Public Shared Function IntToPrefixCoded ( _
	val As Integer, _
	shift As Integer _
) As String
Visual C++
public:
static String^ IntToPrefixCoded(
	int val, 
	int shift
)

Parameters

val
Type: System..::..Int32
the numeric value
shift
Type: System..::..Int32
how many bits to strip from the right

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Util.NumericUtils.IntToPrefixCoded(System.Int32,System.Int32)"]

See Also