class RedisClient::RubyConnection::BufferedIO

def ensure_remaining(bytes)

Experimental RBS support (using type sampling data from the type_fusion project).

def ensure_remaining: (Integer bytes) -> untyped

This signature was generated using 6 samples from 1 application.

def ensure_remaining(bytes)
  needed = bytes - (@buffer.bytesize - @offset)
  if needed > 0
    fill_buffer(true, needed)
  end
end