# include-bytes-plus
[](https://crates.io/crates/include-bytes-plus)
[](https://docs.rs/crate/include-bytes-plus/)
[](https://github.com/DoumanAsh/include-bytes-plus/actions?query=workflow%3ARust)
Improved version of Rust's `include_bytes` macro that allows to reinterpret input as differently array.
Due to inability to capture current file path in the stable Rust, this macro only accepts paths relative to crate's root.
# Usage:
```rust
use include_bytes_plus::include_bytes;
let bytes = include_bytes!("tests/include.in");
let bytes_u16 = include_bytes!("tests/include.in" as u16);
assert_eq!(bytes.len(), bytes_u16.len() * 2);
```