package msgutil
import "github.com/rootless-containers/rootlesskit/pkg/msgutil"
Package msgutil provides utility for JSON message with uint32le header
Index ¶
- func Marshal(x interface{}) ([]byte, error)
- func MarshalToWriter(w io.Writer, x interface{}) (int, error)
- func Unmarshal(b []byte, x interface{}) error
- func UnmarshalFromReader(r io.Reader, x interface{}) (int, error)
Functions ¶
func Marshal ¶
func MarshalToWriter ¶
func Unmarshal ¶
func UnmarshalFromReader ¶
Source Files ¶
- Version
- v1.1.1 (latest)
- Published
- May 30, 2023
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 3 weeks ago –
Tools for package owners.