Example #1
0
        private FRepMovement AsFRepMovement(VectorQuantization vectorQuantization)
        {
            _reader.Reset();

            FRepMovement movement = _reader.SerializeRepMovement(vectorQuantization);

            if (_reader.IsError || !_reader.AtEnd())
            {
                return(null);
            }

            return(movement);
        }
Example #2
0
        private FRepMovement AsRepMovement()
        {
            _reader.Reset();

            FRepMovement repMovement = _reader.SerializeRepMovement();

            if (_reader.IsError || !_reader.AtEnd())
            {
                return(null);
            }

            return(repMovement);
        }