Encoder

Overview

Location

Instance Methods


constructor

 

constructor

 

Encoder()

 

init()

 

Sub New()

constructor (Writer, error, bool, Memory<Buffer>, string, string)

 

constructor(aw: Writer; aerr: error; aescapeHTML: bool; aindentBuf: Memory<Buffer>; aindentPrefix: string; aindentValue: string)

 

Encoder(Writer aw, error aerr, bool aescapeHTML, Memory<Buffer> aindentBuf, string aindentPrefix, string aindentValue)

 

init(_ aw: Writer, _ aerr: error, _ aescapeHTML: bool, _ aindentBuf: Memory<Buffer>, _ aindentPrefix: string, _ aindentValue: string)

 

Sub New(aw As Writer, aerr As error, aescapeHTML As bool, aindentBuf As Memory<Buffer>, aindentPrefix As string, aindentValue As string)

Parameters:

  • aw:
  • aerr:
  • aescapeHTML:
  • aindentBuf:
  • aindentPrefix:
  • aindentValue:

constructor (Encoder)

 

constructor(value: Encoder)

 

Encoder(Encoder value)

 

init(_ value: Encoder)

 

Sub New(value As Encoder)

Parameters:

  • value:

Encode

 

method Encode(v: Object): error

 

error Encode(Object v)

 

func Encode(_ v: Object) -> error

 

func Encode(v interface{}) error

 

Function Encode(v As Object) As error

Parameters:

  • v:

SetEscapeHTML

 

method SetEscapeHTML(on: bool)

 

void SetEscapeHTML(bool on)

 

func SetEscapeHTML(_ on: bool)

 

func SetEscapeHTML(on bool) void

 

Sub SetEscapeHTML(on As bool)

Parameters:

  • on:

SetIndent

 

method SetIndent(prefix: string; indent: string)

 

void SetIndent(string prefix, string indent)

 

func SetIndent(_ prefix: string, _ indent: string)

 

func SetIndent(prefix string, indent string) void

 

Sub SetIndent(prefix As string, indent As string)

Parameters:

  • prefix:
  • indent: