Added CRC32 and CRC32C classes to stdlib. (0.31.0)
This commit is contained in:
parent
e86062aaad
commit
3411a4d846
7 changed files with 425 additions and 2 deletions
|
|
@ -79,6 +79,7 @@ class PCSC()
|
|||
return m
|
||||
*/
|
||||
|
||||
// This class is in a very early stage of development.
|
||||
class PCSC()
|
||||
fun get_readers(this)
|
||||
ctx = pcsc_establish()
|
||||
|
|
@ -109,7 +110,7 @@ class PCSC()
|
|||
m["sw2"] = -1
|
||||
m["code"] = -2
|
||||
return m
|
||||
// Actually selecting the second reader hardcode. This class is not in a very early stage of development.
|
||||
// Actually selecting the second reader hardcoded.
|
||||
handle = pcsc_connect(ctx, readers[1])
|
||||
apdu = this.hex_to_bytes(hex_apdu)
|
||||
res = pcsc_transmit(handle, apdu)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue