Encoder

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.golang.org.x.text.encoding
  • Platforms: .NET, .NET Standard 2.0, Island

Implements

 

constructor

 

constructor

 

Encoder()

 

init()

 

Sub New()

constructor (Encoder)

 

constructor(value: Encoder)

 

Encoder(Encoder value)

 

init(_ value: Encoder)

 

Sub New(value As Encoder)

Parameters:

  • value:

constructor (Transformer)

 

constructor(aTransformer: Transformer)

 

Encoder(Transformer aTransformer)

 

init(_ aTransformer: Transformer)

 

Sub New(aTransformer As Transformer)

Parameters:

  • aTransformer:

Bytes

 

// .NET, Island
method Bytes(b: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method Bytes(b: Slice<Byte>): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
(Slice<Byte>, error) Bytes(Slice<Byte> b)
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> Bytes(Slice<Byte> b)

 

// .NET, Island
func Bytes(_ b: Slice<Byte>) -> (Slice<Byte>, error)
// .NET Standard 2.0
func Bytes(_ b: Slice<Byte>) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func Bytes(b Slice<Byte>) (Slice<Byte>, error)
// .NET Standard 2.0
func Bytes(b Slice<Byte>) ValueTuple<Slice<Byte>, error>

 

// .NET, Island
Function Bytes(b As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// .NET Standard 2.0
Function Bytes(b As Slice<Byte>) As ValueTuple<Slice<Byte>, error>

Parameters:

  • b:

Reset

 

method Reset

 

void Reset()

 

func Reset()

 

func Reset()

 

Sub Reset()

String

 

// .NET, Island
method String(s: string): tuple of (string, error)
// .NET Standard 2.0
method String(s: string): ValueTuple<string, error>

 

// .NET, Island
(string, error) String(string s)
// .NET Standard 2.0
ValueTuple<string, error> String(string s)

 

// .NET, Island
func String(_ s: string) -> (string, error)
// .NET Standard 2.0
func String(_ s: string) -> ValueTuple<string, error>

 

// .NET, Island
func String(s string) (string, error)
// .NET Standard 2.0
func String(s string) ValueTuple<string, error>

 

// .NET, Island
Function String(s As string) As Tuple (Of string, error)
// .NET Standard 2.0
Function String(s As string) As ValueTuple<string, error>

Parameters:

  • s:

Transform

 

method Transform(dst: Slice<Byte>; src: Slice<Byte>; atEOF: bool): tuple of (nDst: Int64, nSrc: Int64, err: error)

 

(Int64 nDst, Int64 nSrc, error err) Transform(Slice<Byte> dst, Slice<Byte> src, bool atEOF)

 

func Transform(_ dst: Slice<Byte>, _ src: Slice<Byte>, _ atEOF: bool) -> (nDst:Int64, nSrc:Int64, err:error)

 

func Transform(dst Slice<Byte>, src Slice<Byte>, atEOF bool) (nDst Int64, nSrc Int64, err error)

 

Function Transform(dst As Slice<Byte>, src As Slice<Byte>, atEOF As bool) As Tuple (Of nDst:=Int64, nSrc:=Int64, err:=error)

Parameters:

  • dst:
  • src:
  • atEOF:

Transformer

 

var Transformer: Transformer;

 

Transformer Transformer

 

var Transformer: Transformer

 

Transformer Transformer

 

FIELD Transformer() As Transformer

Writer

 

method Writer(w: Writer): Writer

 

Writer Writer(Writer w)

 

func Writer(_ w: Writer) -> Writer

 

func Writer(w Writer) Writer

 

Function Writer(w As Writer) As Writer

Parameters:

  • w:

 

Transformer

 

var Transformer: Transformer;

 

Transformer Transformer

 

var Transformer: Transformer

 

Transformer Transformer

 

FIELD Transformer() As Transformer

 

constructor

 

constructor

 

Encoder()

 

init()

 

Sub New()

constructor (Encoder)

 

constructor(value: Encoder)

 

Encoder(Encoder value)

 

init(_ value: Encoder)

 

Sub New(value As Encoder)

Parameters:

  • value:

constructor (Transformer)

 

constructor(aTransformer: Transformer)

 

Encoder(Transformer aTransformer)

 

init(_ aTransformer: Transformer)

 

Sub New(aTransformer As Transformer)

Parameters:

  • aTransformer:

Reset

 

method Reset

 

void Reset()

 

func Reset()

 

func Reset()

 

Sub Reset()

Transform

 

method Transform(dst: Slice<Byte>; src: Slice<Byte>; atEOF: bool): tuple of (nDst: Int64, nSrc: Int64, err: error)

 

(Int64 nDst, Int64 nSrc, error err) Transform(Slice<Byte> dst, Slice<Byte> src, bool atEOF)

 

func Transform(_ dst: Slice<Byte>, _ src: Slice<Byte>, _ atEOF: bool) -> (nDst:Int64, nSrc:Int64, err:error)

 

func Transform(dst Slice<Byte>, src Slice<Byte>, atEOF bool) (nDst Int64, nSrc Int64, err error)

 

Function Transform(dst As Slice<Byte>, src As Slice<Byte>, atEOF As bool) As Tuple (Of nDst:=Int64, nSrc:=Int64, err:=error)

Parameters:

  • dst:
  • src:
  • atEOF:

Bytes

 

// .NET, Island
method Bytes(b: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method Bytes(b: Slice<Byte>): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
(Slice<Byte>, error) Bytes(Slice<Byte> b)
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> Bytes(Slice<Byte> b)

 

// .NET, Island
func Bytes(_ b: Slice<Byte>) -> (Slice<Byte>, error)
// .NET Standard 2.0
func Bytes(_ b: Slice<Byte>) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func Bytes(b Slice<Byte>) (Slice<Byte>, error)
// .NET Standard 2.0
func Bytes(b Slice<Byte>) ValueTuple<Slice<Byte>, error>

 

// .NET, Island
Function Bytes(b As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// .NET Standard 2.0
Function Bytes(b As Slice<Byte>) As ValueTuple<Slice<Byte>, error>

Parameters:

  • b:

String

 

// .NET, Island
method String(s: string): tuple of (string, error)
// .NET Standard 2.0
method String(s: string): ValueTuple<string, error>

 

// .NET, Island
(string, error) String(string s)
// .NET Standard 2.0
ValueTuple<string, error> String(string s)

 

// .NET, Island
func String(_ s: string) -> (string, error)
// .NET Standard 2.0
func String(_ s: string) -> ValueTuple<string, error>

 

// .NET, Island
func String(s string) (string, error)
// .NET Standard 2.0
func String(s string) ValueTuple<string, error>

 

// .NET, Island
Function String(s As string) As Tuple (Of string, error)
// .NET Standard 2.0
Function String(s As string) As ValueTuple<string, error>

Parameters:

  • s:

Writer

 

method Writer(w: Writer): Writer

 

Writer Writer(Writer w)

 

func Writer(_ w: Writer) -> Writer

 

func Writer(w Writer) Writer

 

Function Writer(w As Writer) As Writer

Parameters:

  • w: