Function kernel::services::serial_mux::take_from_grant

source ยท
fn take_from_grant(buffer: &mut FixedVec<u8>, grant: GrantR) -> bool
Expand description

Takes data from the grant

Returns true if the buffer is now ready for decoding Returns false if more data is needed

If the grant has been overfilled, the buffer will be cleared.