four-char-code

Crates.iofour-char-code
lib.rsfour-char-code
version2.3.0
created_at2019-06-28 18:35:58.961972+00
updated_at2025-04-04 15:07:46.679851+00
descriptionA string of 4 ascii chars represented by an u32
homepagehttps://github.com/shurizzle/rust-four-char-code
repositoryhttps://github.com/shurizzle/rust-four-char-code
max_upload_size
id144352
size18,003
shurizzle (shurizzle)

documentation

https://docs.rs/four-char-code

README

four-char-code

GitHub Workflow Status (with branch) Crates.io docs.rs Crates.io

A FourCC ("four-character code") is a sequence of four bytes (typically ASCII) used to uniquely identify data formats. It originated from the OSType or ResType metadata system used in classic Mac OS and was adopted for the Amiga/Electronic Arts Interchange File Format and derivatives. The idea was later reused to identify compressed data types in QuickTime and DirectShow.

Widipedia

![no_std]

Enable #![no_std] support by disabling the default std feature:

[dependencies]
four-char-code = { version = "2", default-features = false }

MSRV

1.57.0

For older rust versions take a look at version 1.

Commit count: 41

cargo fmt