toEntity

Convert reserved chars to entities. For example: " => "

This variant does not require an interim workspace, and instead emits directly via the provided delegate

  1. T[] toEntity(const(T)[] src, T[] dst)
  2. void toEntity(const(T)[] src, void delegate(const(T)[]) emit)
    void
    toEntity
    (
    T
    )
    (
    const(T)[] src
    ,
    scope void delegate
    (
    const(T)[]
    )
    emit
    )

Meta