toEntity

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

Either a slice of the provided output buffer is returned, or the original content, depending on whether there were reserved chars present or not. The output buffer should be sufficiently large to accomodate the converted output, or it will be allocated from the heap instead

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

Meta