Magic number (programming)

Sequence of bytes used to identify or indicate the format of a file

Nº Q284099 ★★★

Rare · Knowledge

Magic number (programming)

Sequence of bytes used to identify or indicate the format of a file

In computer programming, a magic number or magic constant is a numeric literal in source code whose meaning is unclear to the reader. The term is also used outside of programming to refer to a number whose meaning is not obvious without additional knowledge — for example, some file formats are identified by an embedded magic number in the file (see list of file signatures).

Last price

—

Floor price

—

7-day median

—

30-day sales

0

30-day range

—

In circulation

0

Price history

Show table
Datemedian LowHighsales

Sales history

Last sale
—
30-day average
—
30-day low
—
30-day high
—
Sales 7d
0
Sales 30d
0

No sales yet.

Anonymous sales: no buyer or seller shown. Figures count player-to-player sales only.

№ Numbered editions · 0 minted Next #1 · Score ×3
From Wikipedia

In computer programming, a magic number or magic constant is a numeric literal in source code whose meaning is unclear to the reader. The term is also used outside of programming to refer to a number whose meaning is not obvious without additional knowledge — for example, some file formats are identified by an embedded magic number in the file (see list of file signatures). Also, a number that is relatively uniquely associated with a particular concept, such as a universally unique identifier, might be classified as a magic number.

Text: Wikipédia, CC BY-SA 4.0. · Image: Lee Sallows (Public domain) ·

Related cards

Confirmation