Function autoendpoint::routers::common::message_size_check

source ยท
pub fn message_size_check(
    data: &[u8],
    max_data: usize,
) -> Result<(), RouterError>
Expand description

Check the data against the max data size and return an error if there is too much data.