class HTTP2::Buffer
@!visibility private
These monkey-patches ensure that data added to a buffer has a binary encoding, as to not lead to encoding clashes.
Public Instance Methods
<<(x)
click to toggle source
Calls superclass method
# File lib/lowdown/connection.rb, line 42 def <<(x) super(x.force_encoding(Encoding::BINARY)) end
prepend(x)
click to toggle source
Calls superclass method
# File lib/lowdown/connection.rb, line 46 def prepend(x) super(x.force_encoding(Encoding::BINARY)) end