MarkupEntityCodec.encode

Encode any unencoded entities in the input string.

  1. char[] encode(const(char)[] text, char[] encoded)
    class MarkupEntityCodec(E : IEntitySet)
    override
    char[]
    encode
    (
    const(char)[] text
    ,
    ref char[] encoded
    )
  2. wchar[] encode(const(wchar)[] text, wchar[] encoded)
  3. dchar[] encode(const(dchar)[] text, dchar[] encoded)

Parameters

text const(char)[]

string to encode

encoded char[]

output string

Return Value

Type: char[]

encoded output string

Meta