Global

Location

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

Methods


Decode

 

class method Decode(data: Slice<Byte>): tuple of (p: Memory<Block>, rest: Slice<Byte>)

 

// .NET, .NET Standard 2.0
static (Memory<Block>p, Slice<Byte>rest) Decode(Slice<Byte> data)
// Island
static (Memory<Block>p, Slice<Byte>rest) Decode(Slice<Byte> data)

 

static func Decode(_ data: Slice<Byte>) -> (Memory<Block>, Slice<Byte>)

 

func Decode(data Slice<Byte>) tuple of (|name=p| Memory<Block>, |name=rest| Slice<Byte>)

 

Shared Function Decode(data As Slice<Byte>) As Tuple (Of Memory<Block>, Slice<Byte>)

Parameters:

  • data:

Encode

 

// .NET, .NET Standard 2.0
class method Encode(out: Writer; b: Memory<Block>): error
// Island
class method Encode(out: Writer; b: Memory<Block>): error

 

// .NET, .NET Standard 2.0
static error Encode(Writer out, Memory<Block> b)
// Island
static error Encode(Writer out, Memory<Block> b)

 

// .NET, .NET Standard 2.0
static func Encode(_ out: Writer, _ b: Memory<Block>) -> error
// Island
static func Encode(_ out: Writer, _ b: Memory<Block>) -> error

 

// .NET, .NET Standard 2.0
func Encode(out Writer, b Memory<Block>) error
// Island
func Encode(out Writer, b Memory<Block>) error

 

// .NET, .NET Standard 2.0
Shared Function Encode(out As Writer, b As Memory<Block>) As error
// Island
Shared Function Encode(out As Writer, b As Memory<Block>) As error

Parameters:

  • out:
  • b:

EncodeToMemory

 

// .NET, .NET Standard 2.0
class method EncodeToMemory(b: Memory<Block>): Slice<Byte>
// Island
class method EncodeToMemory(b: Memory<Block>): Slice<Byte>

 

// .NET, .NET Standard 2.0
static Slice<Byte> EncodeToMemory(Memory<Block> b)
// Island
static Slice<Byte> EncodeToMemory(Memory<Block> b)

 

// .NET, .NET Standard 2.0
static func EncodeToMemory(_ b: Memory<Block>) -> Slice<Byte>
// Island
static func EncodeToMemory(_ b: Memory<Block>) -> Slice<Byte>

 

// .NET, .NET Standard 2.0
func EncodeToMemory(b Memory<Block>) Slice<Byte>
// Island
func EncodeToMemory(b Memory<Block>) Slice<Byte>

 

// .NET, .NET Standard 2.0
Shared Function EncodeToMemory(b As Memory<Block>) As Slice<Byte>
// Island
Shared Function EncodeToMemory(b As Memory<Block>) As Slice<Byte>

Parameters:

  • b: