package ioutils

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

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
v0.5.0-alpha.4
Published
Nov 26, 2014
Platform
linux/amd64
Imports
1 packages
Last checked
3 minutes ago

Tools for package owners.