public CPTNumericDataType(CPTDataTypeFormat dataTypeFormat, ulong sampleBytes, long byteOrder) { DataTypeFormat = dataTypeFormat; SampleBytes = sampleBytes; ByteOrder = byteOrder; }
//[Verify (PlatformInvoke)] static extern CPTNumericDataType CPTDataType(CPTDataTypeFormat format, nuint sampleBytes, nint byteOrder);
/// <summary> /// Initializes a new instance of the <see cref="CPTNumericDataType64"/> struct. /// </summary> /// <param name="dataTypeFormat">The data type format.</param> /// <param name="sampleBytes">The sample bytes.</param> /// <param name="byteOrder">The byte order.</param> public CPTNumericDataType64(CPTDataTypeFormat dataTypeFormat, ulong sampleBytes, long byteOrder) { this.dataTypeFormat = dataTypeFormat; this.sampleBytes = sampleBytes; this.byteOrder = byteOrder; }
/// <summary> /// Initializes a new instance of the <see cref="CPNumericDataType"/> struct. /// </summary> /// <param name="dataTypeFormat">The data type format.</param> /// <param name="sampleBytes">The sample bytes.</param> /// <param name="byteOrder">The byte order.</param> public CPTNumericDataType(CPTDataTypeFormat dataTypeFormat, uint sampleBytes, int byteOrder) { this.dataTypeFormat = dataTypeFormat; this.sampleBytes = sampleBytes; this.byteOrder = byteOrder; }