func SaveBuffer(filename string, filebytes *bytes.Buffer) error {
	err := ioutil.WriteFile(filename, filebytes.Bytes(), 0644)
	if err != nil {
		return err
	}
	return nil
}
// SaveBuffer will save the buffer to a file on disk.
SaveBuffer will save the buffer to a file on disk.
// SaveBuffer will save the buffer to a file on disk .
func SaveBuffer(filename string, filebytes *bytes.Buffer) error {
	err := ioutil.WriteFile(filename, filebytes.Bytes(), 0644)
	if err != nil {
		return err
	}
	return nil
}
func SaveBuffer ( filename string , filebytes * bytes . Buffer ) error { err := ioutil . WriteFile ( filename , filebytes . Bytes ( ) , 0644 ) if err != nil { return err } return nil }
SaveBuffer will save the buffer to a file on disk.
SaveBuffer will save the buffer to a file on disk .