示例#1
0
        internal static BlobChar[] ToBlobCharArray(char[] chars)
        {
            var arr = new BlobChar[chars.Length];

            for (int i = 0; i < chars.Length; i++)
            {
                arr[i] = chars[i];
            }
            return(arr);
        }
示例#2
0
        internal static BlobChar[] ToBlobCharArray(byte[] bytes)
        {
            var arr = new BlobChar[bytes.Length];

            for (int i = 0; i < bytes.Length; i++)
            {
                arr[i] = bytes[i];
            }
            return(arr);
        }
示例#3
0
        internal static BlobChar[] ToBlobCharArray(string str)
        {
            var arr = new BlobChar[str.Length];

            for (int i = 0; i < str.Length; i++)
            {
                arr[i] = str[i];
            }
            return(arr);
        }