Advanced multimaterial electronic and optoelectronic fiber devices