encode_poll

Function encode_poll 

Source
pub fn encode_poll(out: &mut [u8]) -> Result<usize, EncodeError>
Expand description

Encode a 3-byte keepalive poll.

§Errors

Returns EncodeError::BufferTooSmall if out.len() < 3.

§See also

ircDDBGateway/Common/PollData.cpp:145-160 (getDPlusData).