msgutil

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Overview

Package msgutil provides utility for JSON message with uint32le header

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

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

func MarshalToWriter

func MarshalToWriter(w io.Writer, x interface{}) (int, error)

func Unmarshal

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

func UnmarshalFromReader

func UnmarshalFromReader(r io.Reader, x interface{}) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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