Class IndexableBinaryStringTools
Provides support for converting byte sequences to
The
Although unset bits are used as padding in the final char, the original byte sequence could contain trailing bytes with no set bits (null bytes): padding is indistinguishable from valid information. To overcome this problem, a char is appended, indicating the number of encoded bytes in the final content char.
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class IndexableBinaryStringTools : object
Methods
Name | Description |
---|---|
Decode(Char[], Int32, Int32, Byte[], Int32, Int32) | Decodes the input |
Decode(Char[], Int32, Int32, SByte[], Int32, Int32) | Decodes the input char sequence into the output sbyte sequence. Before calling this method, ensure that the output array has sufficient capacity by calling GetDecodedLength(Char[], Int32, Int32). |
Encode(Byte[], Int32, Int32, Char[], Int32, Int32) | Encodes the input |
Encode(SByte[], Int32, Int32, Char[], Int32, Int32) | Encodes the input |
GetDecodedLength(Char[], Int32, Int32) | Returns the number of |
GetEncodedLength(Byte[], Int32, Int32) | Returns the number of chars required to encode the given |
GetEncodedLength(SByte[], Int32, Int32) | Returns the number of chars required to encode the given |