pub fn generate(
placeholder: &Placeholder,
empty_layout: EmptyLayout,
mercenary_hired: bool,
) -> Vec<u8> ⓘExpand description
Generate item bytes.
If placeholder contains raw bytes, they are returned unchanged.
Otherwise, a known empty-item layout trailer is emitted.