Parsing TCP Data Packet

I’m a total Java noob, but I’ll give it whirl