argument

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2025 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(args ...*Arg) ([]byte, error)

Encode is used to encode and encrypt arguments to stub.

Types

type Arg

type Arg struct {
	ID   uint32
	Data []byte
}

Arg contains the id and data about argument.

func Decode

func Decode(stub []byte) ([]*Arg, error)

Decode is used to decrypt and decode arguments from raw stub.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL