static bool buf_fini(RBuffer *b) {
	r_return_val_if_fail (b && b->methods, false);
	return b->methods->fini? b->methods->fini (b): true;
}
static bool buf_fini(RBuffer *b) {
	r_return_val_if_fail (b && b->methods, false);
	return b->methods->fini? b->methods->fini (b): true;
}