public int ToDoubleComplex(byte[] bytes, int startIndex, int count, out DoubleComplex[] values) { values = new DoubleComplex[count]; for (int i = 0; i < count; i++) { ToDoubleComplex(bytes, startIndex + i * 16, out values[i]); } return count * 16; }
public unsafe void GetBytes(DoubleComplex value, byte[] bytes, int startIndex) { GetBytes((byte*)&value, bytes, startIndex, 16); }
public int ToDoubleComplex(byte[] bytes, int startIndex, out DoubleComplex value) { value = ToDoubleComplex(bytes, startIndex); return 16; }