cc4 0.1.1

Very simple implementation of the four_cc/fourcc algorithm as a const fn
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# cc4 
Implementation of four_cc in Rust as a `const fn`. Supports both little and big endian systems.

```rust
four_cc(b"code");
```

Since `four_cc` is a `const fn`, you can also use it to define `enum` values for `enums` represented by `u32`.

```rust
#[repr(u32)]
pub enum Id {
    Apple = four_cc(b"appl"),
}
```