[feature] xalloc/xfree/xlen for ubuf