Function x11rb_protocol::xauth::file::read_string

source ·
fn read_string<R: Read>(read: &mut R) -> Result<Vec<u8>, Error>
Expand description

Read a single “byte array” from an ~/.Xauthority file.

The file stores these as a length field followed by a number of bytes that contain the actual data.