Пример #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;
 }