England captain Jos Buttler says his team have learnt valuable lessons from their ODI series win against Bangladesh.