instance method
OpenSSL::Buffering#each_byte
() ?{ (::Integer) -> void } -> void
each_byte() { |byte| ... }
ext/openssl/lib/openssl/buffering.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/openssl/lib/openssl/buffering.rb, line 303
def each_byte # :yields: byte
while c = getc
yield(c.ord)
end
end
Calls the given block once for each byte in the stream.