useceleris-server 1.0.1

Server SDK for Celeris realtime channels: signs connection credentials on a trusted server.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::signer::hexadecimal;

#[test]
fn writes_lowercase_hexadecimal_with_two_digits_per_byte() {
    assert_eq!(hexadecimal(&[]), "");
    assert_eq!(
        hexadecimal(&[0x00, 0x0f, 0xf0, 0xff, 0xab, 0x19]),
        "000ff0ffab19"
    );
} // end fn writes_lowercase_hexadecimal_with_two_digits_per_byte