Encoder

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.encoding.xml
  • Platforms: .NET, .NET Standard 2.0, Island

Instance Methods


constructor

 

constructor

 

Encoder()

 

init()

constructor (Encoder)

 

constructor(value: Encoder)

 

Encoder(Encoder value)

 

init(_ value: Encoder)

Parameters:

  • value:

Encode

 

method Encode(v: Object): error

 

error Encode(Object v)

 

func Encode(_ v: Object) -> error

 

func Encode(v interface{}) error

Parameters:

  • v:

EncodeElement

 

method EncodeElement(v: Object; start: StartElement): error

 

error EncodeElement(Object v, StartElement start)

 

func EncodeElement(_ v: Object, _ start: StartElement) -> error

 

func EncodeElement(v interface{}, start StartElement) error

Parameters:

  • v:
  • start:

EncodeToken

 

method EncodeToken(t: Token): error

 

error EncodeToken(Token t)

 

func EncodeToken(_ t: Token) -> error

 

func EncodeToken(t Token) error

Parameters:

  • t:

Flush

 

method Flush: error

 

error Flush()

 

func Flush() -> error

 

func Flush() error

Indent

 

method Indent(prefix: string; indent: string)

 

void Indent(string prefix, string indent)

 

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

 

func Indent(prefix string, indent string)

Parameters:

  • prefix:
  • indent: