//! Utility functions for the most common UEFI patterns.
use ;
use Layout;
use slice;
/// Creates a boxed byte buffer using the standard allocator.
///
/// # Panics
///
/// Calls `handle_alloc_error` if the layout has a size of zero or allocation fails.