rlink 0.6.16

High performance Stream Processing Framework
Documentation
1
2
3
4
5
6
7
8
use std::io::Cursor;

use murmur3::*;

pub fn hash_code(v: &[u8]) -> std::io::Result<u32> {
    let mut cursor = Cursor::new(v);
    murmur3_32(&mut cursor, 0x19264330)
}