instance method
OpenSSL::Buffering#readchar
() -> ::String
readchar
ext/openssl/lib/openssl/buffering.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/openssl/lib/openssl/buffering.rb, line 313
def readchar
raise EOFError if eof?
getc
end
Reads a one-character string from the stream. Raises an EOFError at end of file.