toEntity

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

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

Meta