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.5
Published
Dec 13, 2014
Platform
darwin/amd64
Imports
1 packages
Last checked
24 minutes ago

Tools for package owners.