package proto

import "github.com/mesos/mesos-go/api/v1/lib/encoding/proto"

Package proto implements protobuf utilities such as functional options to construct complex structs and encoders and decoders composable with io.ReadWriters.

Index

Functions

func NewDecoder

func NewDecoder(s encoding.Source) encoding.Decoder

NewDecoder returns a new Decoder of Protobuf messages read from the given Source.

func NewEncoder

func NewEncoder(s encoding.Sink) encoding.Encoder

NewEncoder returns a new Encoder of Calls to Protobuf messages written to the given io.Writer.

Source Files

doc.go encoding.go

Version
v0.0.11 (latest)
Published
May 15, 2020
Platform
linux/amd64
Imports
3 packages
Last checked
20 minutes ago

Tools for package owners.