/// For macro usage
/// Different string encodings
pub use BSlice;
pub use BStr;
pub use BString;
pub use BVec;
pub use LengthExceeded;
/// Creates a static `&'static BStr<MAX, E>` with a compile-time check.
///
/// ```
/// # use maxlen::{bstr, BStr, encoding::Cesu8};
/// let _: &BStr<255> = bstr!(255, "test string");
/// let _: &BStr<255, Cesu8> = bstr!(255, Cesu8, "255 bytes in cesu-8 encoding!");
///
/// // let _: &BStr<1> = bstr!(1, "longer than 1 char"); // will not compile
/// ```
pub use bstr;