public void SetStringAt(string value, int offset) { Debug.Assert(typecode == NPTypeCode.Char); Debug.Assert(offset < Array.Count); SetString(value, Shape.GetCoordinates(offset)); }
/// <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))); }