This variant does not require an interim workspace, and instead
emits directly via the provided delegate
T[] toEntity(T)(const(T)[] src, T[] dst = null);
Convert reserved chars to entities. For example: " => "
A slice of the provided output buffer is returned. The output buffer should be sufficiently large to
accomodate the converted output, or it will be allocated from the
heap instead