static bool check_bytes(const ut8 *buf, ut64 length) { RBuffer *b = r_buf_new_with_bytes (buf, length); bool res = check_buffer (b); r_buf_free (b); return res; }
R_API RBuffer *r_buf_new_with_buf(RBuffer *b) { return r_buf_new_with_bytes (b->buf, b->length); }