Pergunta de entrevista da empresa Xirgo Technologies

Write a function to extract a several fields from a byte-steam