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

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

Syntax

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

Parameters

val
Type: System..::..Int64
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.LongToPrefixCoded(System.Int64,System.Int32)"]

See Also