### Description

Write an amigaDisk object to an Amiga Disk File (ADF) or alternatively to an ADZ file.

### Usage

## S4 method for signature 'amigaDisk,ANY'

## S4 method for signature 'amigaDisk,character'

## S4 method for signature 'amigaDisk,character'


### Arguments

 x An amigaDisk object that needs to be saved to an ADF file. file either a file name to write to, or a file connection, that allows to write binary data (see file). write.adz only accepts a file name.

### Details

Use this function to write amigaDisk objects as binary data to so-called Amiga Disk Files (ADF). These files can be used as input for Amiga emulator software.

Alternatively, the object can be saved with 'write.adz', which is essentially a gzipped version of an ADF file.

### Value

Writes to an ADF file but returns nothing.

### Author(s)

Pepijn de Vries

Other io.operations: read.adf()

### Examples

## Not run:
## Let's write the example data to an ADF file:

## Let's put it in the current working directory:

## You can also use file connections to do the same: