package ioutil

import "github.com/coreos/etcd/pkg/ioutil"

Index

Functions

func NewLimitedBufferReader

func NewLimitedBufferReader(r io.Reader, n int) io.Reader

NewLimitedBufferReader returns a reader that reads from the given reader but limits the amount of data returned to at most n bytes.

Source Files

reader.go

Version
v2.2.1+incompatible
Published
Oct 16, 2015
Platform
js/wasm
Imports
1 packages
Last checked
7 minutes ago

Tools for package owners.