Method DeepCopyOf
DeepCopyOf(BytesRef)
Creates a new BytesRef that points to a copy of the bytes from
other
.
The returned BytesRef will have a length of other.Length
and an offset of zero.
Declaration
public static BytesRef DeepCopyOf(BytesRef other)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | other |
Returns
Type | Description |
---|---|
BytesRef |