// OpenDownloadStream creates a stream from which the contents of the file can be read.
OpenDownloadStream creates a stream from which the contents of the file can be read.
// OpenDownloadStream creates a stream from which the contents of the file can be read .
func (b *Bucket) OpenDownloadStream(fileID interface{}) (*DownloadStream, error) {
	id, err := convertFileID(fileID)
	if err != nil {
		return nil, err
	}
	return b.openDownloadStream(bsonx.Doc{
		{"_id", id},
	})
}
func ( b * Bucket ) OpenDownloadStream ( fileID interface { } ) ( * DownloadStream , error ) { id , err := convertFileID ( fileID ) if err != nil { return nil , err } return b . openDownloadStream ( bsonx . Doc { { " " , id } , } ) }
OpenDownloadStream creates a stream from which the contents of the file can be read.
OpenDownloadStream creates a stream from which the contents of the file can be read .