static bool buf_resize(RBuffer *b, ut64 newsize) {
	r_return_val_if_fail (b && b->methods, -1);
	return b->methods->resize? b->methods->resize (b, newsize): false;
}
static bool buf_resize(RBuffer *b, ut64 newsize) {
	r_return_val_if_fail (b && b->methods, -1);
	return b->methods->resize? b->methods->resize (b, newsize): false;
}