method

read_to_char

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: CSV

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.

read_to_char(bytes) private

Reads at least bytes from @io, but will read up 10 bytes ahead if needed to ensure the data read is valid in the ecoding of that data. This should ensure that it is safe to use regular expressions on the read data, unless it is actually a broken encoding. The read data will be returned in @encoding.

Show source
Register or log in to add new notes.