ASCII85

application/octet-stream

Safe

Magic Bytes

Offset: 0
24 18 BE FF E3 00 03 00 FE FF 09 00 06

ASCII85, also known as Base85, is a binary-to-text encoding scheme originally developed by Adobe Systems for efficient data representation. It is primarily utilized within PostScript and Portable Document Format (PDF) files to embed binary objects such as images and font programs into text-based streams. Although the encoding format is inherently benign, it functions as a container for arbitrary payloads; consequently, decoded content should be vetted for malicious code according to standard security practices.

Extension

.b85

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .b85 files in Python

Python
def is_b85(file_path: str) -> bool:
    """Check if file is a valid B85 by magic bytes."""
    signature = bytes([0x24, 0x18, 0xBE, 0xFF, 0xE3, 0x00, 0x03, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x06])
    with open(file_path, "rb") as f:
        return f.read(13) == signature

How to validate .b85 files in Node.js

Node.js
function isB85(buffer: Buffer): boolean {
  const signature = Buffer.from([0x24, 0x18, 0xBE, 0xFF, 0xE3, 0x00, 0x03, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x06]);
  return buffer.subarray(0, 13).equals(signature);
}
Go
func IsB85(data []byte) bool {
    signature := []byte{0x24, 0x18, 0xBE, 0xFF, 0xE3, 0x00, 0x03, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x06}
    if len(data) < 13 {
        return false
    }
    return bytes.Equal(data[:13], signature)
}

API Endpoint

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

Related Formats