mirror of
https://git.mentality.rip/numas13/xash3d-master.git
synced 2025-01-22 04:44:31 +00:00
protocol: update docs
This commit is contained in:
parent
d7e33170d3
commit
17c75e7759
@ -166,10 +166,7 @@ impl QueryServersResponse<()> {
|
||||
|
||||
/// Encode packet to `buf`.
|
||||
///
|
||||
/// If `buf` has not enougth size to hold all addresses the method must be called
|
||||
/// multiple times until the end flag equals `true`.
|
||||
///
|
||||
/// Returns how many bytes was written in `buf` and the end flag.
|
||||
/// Returns number of bytes written into `buf` and how many items was written.
|
||||
pub fn encode<A>(&mut self, buf: &mut [u8], list: &[A]) -> Result<(usize, usize), Error>
|
||||
where
|
||||
A: ServerAddress,
|
||||
|
Loading…
x
Reference in New Issue
Block a user