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
v2.0.0-rc.1+incompatible
Published
Dec 18, 2014
Platform
js/wasm
Imports
1 packages
Last checked
8 hours ago

Tools for package owners.