func (b *Buffer) Close() error {
	b.lock.Lock()
	defer b.lock.Unlock()

	b.closed = true

	return nil
}
func (b *Buffer) Close() error {
	b.lock.Lock()
	defer b.lock.Unlock()

	b.closed = true

	return nil
}
func ( b * Buffer ) Close ( ) error { b . lock . Lock ( ) defer b . lock . Unlock ( ) b . closed = true return nil }
/*
Close signifies that the buffer will no longer be written to
*/
/ * Close signifies that the buffer will no longer be written to