private static short GetPacketId(this IReadOnlyList<byte> data) { return (short)((data[1] << 8) | (data[0] << 0)); } }