Skip to content

Antenna data file (.adf)

.adf file signature | application/x-amiga-disk-format

Antenna data file

Safe

Magic Bytes

Offset 0
44 4F 53

Sources: Apache Tika, Gary Kessler

All Known Signatures

2 signature variants are documented for .adf files across multiple sources.

Hex Signature Offset Sources
44 4F 53 0 Apache Tika, Gary Kessler
52 45 56 4E 55 4D 3A 2C 0 Gary Kessler

Extension

.adf

MIME Type

application/x-amiga-disk-format

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .adf files in Python

Python
def is_adf(file_path: str) -> bool:
    """Check if file is a valid ADF by magic bytes."""
    signature = bytes([0x44, 0x4F, 0x53])
    with open(file_path, "rb") as f:
        return f.read(3) == signature

How to validate .adf files in Node.js

Node.js
function isADF(buffer: Buffer): boolean {
  const signature = Buffer.from([0x44, 0x4F, 0x53]);
  return buffer.subarray(0, 3).equals(signature);
}

How to validate .adf files in Go

Go
func IsADF(data []byte) bool {
    signature := []byte{0x44, 0x4F, 0x53}
    if len(data) < 3 {
        return false
    }
    return bytes.Equal(data[:3], signature)
}

API Endpoint

GET /api/v1/adf
curl https://filesignature.org/api/v1/adf

See the full API documentation for all endpoints and parameters.

Frequently Asked Questions

What is a .adf file?

A .adf file is a Antenna data file file. Antenna data file

What are the magic bytes for .adf files?

The magic bytes for Antenna data file files are 44 4F 53 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .adf file?

To validate a .adf file, read the first bytes of the file and compare them against the known magic bytes (44 4F 53) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .adf files?

The primary MIME type for .adf files is application/x-amiga-disk-format.

Is it safe to open .adf files?

Antenna data file (.adf) files are generally safe to open. They are classified as low risk because they primarily contain data rather than executable code. However, always ensure files come from a trusted source.