class RedisClient::RubyConnection::BufferedIO

def gets_chomp

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

def gets_chomp: () -> untyped

This signature was generated using 3 samples from 1 application.

def gets_chomp
  fill_buffer(false) if @offset >= @buffer.bytesize
  until eol_index = @buffer.index(EOL, @offset)
    fill_buffer(false)
  end
  line = @buffer.byteslice(@offset, eol_index - @offset)
  @offset = eol_index + EOL_SIZE
  line
end