End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Encoding::InvalidByteSequenceError#readagain_bytes
ecerr.readagain_bytes → string
transcode.c
View on GitHub ↗
static VALUE
ecerr_readagain_bytes(VALUE self)
{
return rb_attr_get(self, id_readagain_bytes);
}
Returns the bytes to be read again when Encoding::InvalidByteSequenceError occurs.
See also
#incomplete_input?
#source_encoding
#error_bytes
#source_encoding_name
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0