# Functions
BufferReader returns a new gbytes.Buffer that wraps a reader.
BufferWithBytes returns a new gbytes.Buffer seeded with the passed in bytes
*/.
NewBuffer returns a new gbytes.Buffer
*/.
Say is a Gomega matcher that operates on gbytes.Buffers:
Expect(buffer).Should(Say("something"))
will succeed if the unread portion of the buffer matches the regular expression "something".
TimeoutCloser returns an io.Closer that wraps the passed-in io.Closer.
TimeoutReader returns an io.Reader that wraps the passed-in io.Reader.
TimeoutWriter returns an io.Writer that wraps the passed-in io.Writer.
# Variables
ErrTimeout is returned by TimeoutCloser, TimeoutReader, and TimeoutWriter when the underlying Closer/Reader/Writer does not return within the specified timeout.
# Interfaces
Objects satisfying the BufferProvider can be used with the Say matcher.