std::string Image::desc() const { return std::string(tsk_img_type_todesc(Img->itype)); // utf8? }
// helper methods VALUE image_type_to_desc(VALUE self, VALUE num) { const char * description; description = tsk_img_type_todesc((TSK_IMG_TYPE_ENUM)FIX2INT(num)); return rb_str_new2(description); }