Function x11rb_protocol::xauth::file::read_entry
source · fn read_entry<R: Read>(read: &mut R) -> Result<Option<AuthEntry>, Error>
Expand description
Read a single entry from an ~/.Xauthority
file.
This function tries to return Ok(None)
when the end of the file is reached. However, the
code also treats a single byte as ‘end of file’, because things were simpler to implement
like this.