public void SendMessage_Pose() { PoseMessage_Client poseMessage_Client = new PoseMessage_Client(); poseMessage_Client.poseDescription = PosePacker.Instance.PackPose(); StreamUtils.WriteMessageToStream(poseMessage_Client, networkStream); }
public static void WriteMessageToStream(PoseMessage_Client poseMessage, NetworkStream networkStream) { WriteBytesToStream(poseMessage.GetBytes(), networkStream); }