//! High-level decode API.
use cratebasic;
use cratepackbits;
use cratebitmap;
/// Decode basic RLE (compact byte format).
///
/// Returns `None` if the input is malformed.
/// Decode PackBits.
///
/// Returns an empty vec if the input is malformed.
/// Decode a bitmap RLE scanline.
///
/// Returns `None` if the data doesn't match the expected width.
/// Decode a full bitmap.
///
/// Returns `None` if the data is malformed.