Function encodeValue

  • Parameters

    Returns number

    • The index of where the value was stored in the cache