pbio

package
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2015 License: BSD-3-Clause, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	ReadMsg(msg proto.Message) (uint64, error)
}

func NewDelimitedReader

func NewDelimitedReader(r io.Reader, bufSize, maxSize int) Reader

type Sizer

type Sizer interface {
	Size() (n int)
}

type Writer

type Writer interface {
	WriteMsg(proto.Message) (uint64, error)
}

func NewDelimitedWriter

func NewDelimitedWriter(w io.Writer) Writer

Jump to

Keyboard shortcuts

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