encode

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package encode provides methods to convert values to and from kRPC's protobuf format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(m interface{}) ([]byte, error)

Marshal encodes a type in kRPC's protobuf format.

func Unmarshal

func Unmarshal(b []byte, m interface{}) error

Unmarshal decodes a type from kRPC's protobuf format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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