Skip to main content

same_buffer

Function same_buffer 

Source
pub fn same_buffer(a: &[u8], b: &[u8]) -> bool
Expand description

Whether two byte views are the same bytes in the same place, which is how a shared Bytes is recognized without comparing its contents.