You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: bin_ser_test.rs
    path of file: ./repos/neon/libs/utils/tests
    
    the code of the file until where you have to start completion: use bytes::{B
    
fn test1() {
    let raw1 = hex!("8940 7890 5534 7890  1289 5379 8378 7893  4207 8923 4712 3218");
    let mut buf1 = BytesMut::from(&raw1[..]);
    let mut buf2 = &raw1[..];
    let dec1 = decode_header_data(&mut buf1);
    let dec2 = decode2(&mut buf2);
    assert_eq!(dec1, dec2);
    assert_eq!(buf1, buf2);
}