Skip to main content

write_flat_op_bytes_words

Function write_flat_op_bytes_words 

Source
pub fn write_flat_op_bytes_words(
    out: &mut Vec<u32>,
    bytes: &[u8],
    max_bytes: usize,
) -> bool
Expand description

Appends [byte_len: u32, zero_padded_le_words...] for raw bytes to out.

Returns false (leaving out unchanged) if bytes.len() exceeds max_bytes or u32::MAX.