public byte[] GetLocationData() { memStream.SetLength(0); writer.Seek(0, SeekOrigin.Begin); writer.Write(0); PoseInfo info = GetPoseInfo(); info.Write(writer); return(memStream.ToArray()); }
public byte[] GetGlobalLocationData() { memStream.SetLength(0); writer.Seek(0, SeekOrigin.Begin); writer.Write(0); PoseInfo info = GetPoseInfo(); info = TransformPositionByAreaId(0, info); info.Write(writer); return(memStream.ToArray()); }