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; }
public unsafe void GetBytes(SingleComplex value, byte[] bytes, int startIndex) { GetBytes((byte*)&value, bytes, startIndex, 8); }
public int ToSingleComplex(byte[] bytes, int startIndex, out SingleComplex value) { value = ToSingleComplex(bytes, startIndex); return 8; }