Method CopyUsingLengthPrefix
CopyUsingLengthPrefix(BytesRef)
Copy bytes in, writing the length as a 1 or 2 byte vInt prefix.
Declaration
public long CopyUsingLengthPrefix(BytesRef bytes)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | bytes |
Returns
Type | Description |
---|---|
System.Int64 |