Example #1
0
            public override int Deserialize(System.Byte[] serialized, int startIndex)
            {
                int curIndex = startIndex;

                curIndex += position.Deserialize(serialized, curIndex);
                curIndex += orientation.Deserialize(serialized, curIndex);
                return(curIndex - startIndex);
            }
Example #2
0
            public override int Deserialize(System.Byte[] serialized, int startIndex)
            {
                int curIndex = startIndex;

                curIndex += header.Deserialize(serialized, curIndex);
                curIndex += point.Deserialize(serialized, curIndex);
                return(curIndex - startIndex);
            }