abstract header decode