Method Encode
Encode(Char[])
Declaration
BytesRef Encode(char[] buffer)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | buffer |
Returns
Type | Description |
---|---|
BytesRef |
Encode(Char[], Int32, Int32)
Convert a char array to a BytesRef
Declaration
BytesRef Encode(char[] buffer, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | buffer | |
System.Int32 | offset | |
System.Int32 | length |
Returns
Type | Description |
---|---|
BytesRef | encoded BytesRef |