pub fn encode_embedded_config_trailer<T: Serialize>(
config: &T,
) -> Result<Vec<u8>, EmbeddedConfigError>Expand description
Encode the self-contained trailer appended to a binary with embedded config.
Writes: JSON payload + 4-byte LE length + magic bytes. Keeping this separate lets object stores compose an existing binary with a small configuration object without downloading and uploading the binary again.