EncodeAny encodes provided Protocol Buffer's Any type to dynamic entity. If
the type URL of provided value doesn't represent a type, known to Encoder,
the method will return an error.
EncodeAny encodes provided dynamic entity to Protocol Buffer's Any type. If
the type of the entity doesn't belong to the registry, provided during
creation of Encoder, the method will panic.