find

fun find(bytes: BytesRef): Int

Returns the id of the given BytesRef.

Return

the id of the given bytes, or -1 if there is no mapping for the given bytes.

Parameters

bytes

the bytes to look for