Method: Zlib::ZStream#data_type
- Defined in:
-
ext/zstdlib/ruby/zlib-2.2/zlib.c,
ext/zstdlib/ruby/zlib-2.3/zlib.c,
ext/zstdlib/ruby/zlib-2.4/zlib.c,
ext/zstdlib/ruby/zlib-2.5/zlib.c,
ext/zstdlib/ruby/zlib-2.6/zlib.c
Guesses the type of the data which have been inputed into the stream. The returned value is either BINARY, ASCII, or UNKNOWN.
1409 1410 1411 1412 1413 |
# File 'ext/zstdlib/ruby/zlib-2.2/zlib.c', line 1409
static VALUE
rb_zstream_data_type(VALUE obj)
{
return INT2FIX(get_zstream(obj)->stream.data_type);
}
|