예제 #1
0
        public void SetStringAt(string value, int offset)
        {
            Debug.Assert(typecode == NPTypeCode.Char);
            Debug.Assert(offset < Array.Count);

            SetString(value, Shape.GetCoordinates(offset));
        }
예제 #2
0
        /// <summary>
        ///     Get a string out of a vector of chars.
        /// </summary>
        /// <remarks>Performs a copy due to String .net-framework limitations.</remarks>
        public string GetStringAt(int offset)
        {
            Debug.Assert(typecode == NPTypeCode.Char);
            Debug.Assert(offset < Array.Count);

            return(GetString(Shape.GetCoordinates(offset)));
        }