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(T[] src, T[] dst)
  2. void toEntity(T[] src, void delegate(T[]) emit)
    void
    toEntity
    (
    T
    )
    (
    T[] src
    ,
    scope void delegate
    (
    T[]
    )
    emit
    )

Meta