Class: CompactEncDet::DetectEncodingResult

Inherits:
Object
  • Object
show all
Defined in:
ext/compact_enc_det/compact_enc_det.cc

Instance Method Summary collapse

Instance Method Details

#bytes_consumedObject



15
16
17
18
# File 'ext/compact_enc_det/compact_enc_det.cc', line 15

static VALUE detect_encoding_result_bytes_consumed(VALUE self)
{
  return rb_iv_get(self, "@bytes_consumed");
}

#encodingObject



10
11
12
13
# File 'ext/compact_enc_det/compact_enc_det.cc', line 10

static VALUE detect_encoding_result_encoding(VALUE self)
{
  return rb_iv_get(self, "@encoding");
}

#is_reliable?Boolean

Returns:

  • (Boolean)


20
21
22
23
# File 'ext/compact_enc_det/compact_enc_det.cc', line 20

static VALUE detect_encoding_result_is_reliable(VALUE self)
{
  return rb_iv_get(self, "@is_reliable");
}