Pergunta de entrevista da empresa Dust Networks

What is big Endian/little endian? Write a function to switch them