Expert: Returns prefix coded bits after reducing the precision by
CopyC#
bits.
This is method is used by {@link NumericTokenStream}.
Namespace: Lucene.Net.UtilAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static int IntToPrefixCoded(
int val,
int shift,
char[] buffer
) |
Visual Basic |
---|
Public Shared Function IntToPrefixCoded ( _
val As Integer, _
shift As Integer, _
buffer As Char() _
) As Integer |
Visual C++ |
---|
public:
static int IntToPrefixCoded(
int val,
int shift,
array<wchar_t>^ buffer
) |
Return Value
number of chars written to buffer
See Also