# File lib/mongo/socket/ssl.rb, line 97 def readbyte handle_errors do byte = socket.read(1).bytes.to_a[0] byte.nil? ? raise(EOFError) : byte end end