Crates.io | bancho-packet |
lib.rs | bancho-packet |
version | 0.2.0 |
source | src |
created_at | 2023-01-04 17:42:30.609956 |
updated_at | 2023-01-07 03:46:04.105219 |
description | Library for handling osu!'s packets |
homepage | |
repository | |
max_upload_size | |
id | 750984 |
size | 54,663 |
Packet Serializer and Deserializer for osu!
example writing usage
use bancho_packets::*;
...
let mut buffer = BytesMut::new();
bancho_packet::bancho_channel_join_success(&mut buffer, "#osu");
...
example reading usage (assuming in_buf is a BytesMut with packets)
use bancho_packets::*;
let status = bancho_packet::reader::client_user_status(&mut in_buf);