method

consume_rbuff

Importance_0
v1_9_1_378 - Show latest stable - 0 notes - Class: Buffering
consume_rbuff(size=nil) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/openssl/lib/openssl/buffering.rb, line 43
  def consume_rbuff(size=nil)
    if @rbuffer.empty?
      nil
    else
      size = @rbuffer.size unless size
      ret = @rbuffer[0, size]
      @rbuffer[0, size] = ""
      ret
    end
  end
Register or log in to add new notes.