java.lang.Object
java.lang.Number
com.sun.jna.IntegerType
de.gematik.smartcards.pcsc.lib.Dword
- All Implemented Interfaces:
com.sun.jna.NativeMapped,Serializable
public class Dword
extends com.sun.jna.IntegerType
The DWORD type used by WinSCard.h, used wherever an integer is needed in SCard functions.
On Windows and OS X, this is always typedef'd to an uint32_t. In the pcsclite library on Linux, it is a long instead, which is 64 bits on 64-bit Linux.
- Author:
- gematik
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.IntegerType
compare, compare, compare, doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNativeMethods inherited from class java.lang.Number
byteValue, shortValue
-
Constructor Details
-
Dword
public Dword()Default constructor results in aDwordwith value 0.Note: According to the requirements from
ScardIoRequest()the visibility of this constructor has to be "public". -
Dword
public Dword(long value) Comfort constructor, results in aDwordwith given value.- Parameters:
value- ofDword- Throws:
IllegalArgumentException- if value has too many bits for a Dword on this platform, e.g.SIZEis four but bit-length of value is greater than 32.
-
-
Method Details