示例#1
0
        public int ToSingleComplex(byte[] bytes, int startIndex, int count, out SingleComplex[] values)
        {
            values = new SingleComplex[count];

            for (int i = 0; i < count; i++)
            {
                ToSingleComplex(bytes, startIndex + i * 8, out values[i]);
            }

            return count * 8;
        }
示例#2
0
 public unsafe void GetBytes(SingleComplex value, byte[] bytes, int startIndex)
 {
     GetBytes((byte*)&value, bytes, startIndex, 8);
 }
示例#3
0
 public int ToSingleComplex(byte[] bytes, int startIndex, out SingleComplex value)
 {
     value = ToSingleComplex(bytes, startIndex);
     return 8;
 }