Global

Location

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

Methods


Decode

 

class method Decode(dst: Slice<Byte>; src: Slice<Byte>; flush: bool): tuple of (ndst: Int64, nsrc: Int64, err: error)

 

static (Int64 ndst, Int64 nsrc, error err) Decode(Slice<Byte> dst, Slice<Byte> src, bool flush)

 

static func Decode(_ dst: Slice<Byte>, _ src: Slice<Byte>, _ flush: bool) -> (ndst:Int64, nsrc:Int64, err:error)

 

func Decode(dst Slice<Byte>, src Slice<Byte>, flush bool) (ndst Int64, nsrc Int64, err error)

Parameters:

  • dst:
  • src:
  • flush:

Encode

 

class method Encode(dst: Slice<Byte>; src: Slice<Byte>): int

 

static int Encode(Slice<Byte> dst, Slice<Byte> src)

 

static func Encode(_ dst: Slice<Byte>, _ src: Slice<Byte>) -> int

 

func Encode(dst Slice<Byte>, src Slice<Byte>) int

Parameters:

  • dst:
  • src:

MaxEncodedLen

 

class method MaxEncodedLen(n: int): int

 

static int MaxEncodedLen(int n)

 

static func MaxEncodedLen(_ n: int) -> int

 

func MaxEncodedLen(n int) int

Parameters:

  • n:

NewDecoder

 

class method NewDecoder(r: Reader): Reader

 

static Reader NewDecoder(Reader r)

 

static func NewDecoder(_ r: Reader) -> Reader

 

func NewDecoder(r Reader) Reader

Parameters:

  • r:

NewEncoder

 

class method NewEncoder(w: Writer): WriteCloser

 

static WriteCloser NewEncoder(Writer w)

 

static func NewEncoder(_ w: Writer) -> WriteCloser

 

func NewEncoder(w Writer) WriteCloser

Parameters:

  • w: