Method Gz._file()->write() Method write int write(string data) Description Writes the data to the file. Returns the number of bytes written to the file.