String
A buffer which will retain binary encoding.
# File ruby-3.1.2/ext/openssl/lib/openssl/buffering.rb, line 29 def initialize super force_encoding(BINARY) end
# File ruby-3.1.2/ext/openssl/lib/openssl/buffering.rb, line 35 def << string if string.encoding == BINARY super(string) else super(string.b) end return self end
This page was generated for Ruby 3.1.2
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.