Skip to content

Type a string of 4 chars represented by an u32 type in Rust

License

Notifications You must be signed in to change notification settings

shurizzle/rust-four-char-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Type a string of 4 chars represented by an u32 type in Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages