Function common_primitives::utils::wrap_binary_data
source · pub fn wrap_binary_data(data: Vec<u8>) -> Vec<u8> ⓘ
Expand description
Wraps PREFIX
and POSTFIX
around a Vec<u8>
Returns PREFIX
++ data
++ POSTFIX
pub fn wrap_binary_data(data: Vec<u8>) -> Vec<u8> ⓘ
Wraps PREFIX
and POSTFIX
around a Vec<u8>
Returns PREFIX
++ data
++ POSTFIX