String
A buffer which will retain binary encoding.
# File openssl/lib/openssl/buffering.rb, line 29 def initialize super force_encoding(BINARY) end
# File 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.0
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.