The sbd-e2e-crypto-client crate returns received data as a bytes::Bytes. The tx5 Endpoint and supporting dependency traits convert this into Vec<u8>s which kitsune then translates back into bytes.
Staying with bytes would eliminate a large number of mem copies.
The sbd-e2e-crypto-client crate returns received data as a
bytes::Bytes. The tx5 Endpoint and supporting dependency traits convert this intoVec<u8>s which kitsune then translates back into bytes.Staying with bytes would eliminate a large number of mem copies.