Documentation
¶
Index ¶
- Constants
- func BinaryReadBlock(card *scard.Card, block uint16) ([]byte, error)
- func BinaryReadBlocks(card *scard.Card, startBlock, endBlock uint16) ([]byte, error)
- func BinaryWriteBlock(card *scard.Card, block uint8, data []byte) error
- func BinaryWriteBlocks(card *scard.Card, block uint8, data []byte) ([]byte, error)
- func DoTransmit(card *scard.Card, payload []byte) (rdata []byte, err error)
- func TransmitByteable(card *scard.Card, b byteable.Byteable) (rdata []byte, err error)
- func TransmitBytes(card *scard.Card, payload []byte) (rdata []byte, err error)
- type Header
Constants ¶
View Source
const ( BinaryRead uint8 = 0xb0 BinaryWrite = 0xd6 )
View Source
const TransmitSuccess uint16 = 0x9000
Variables ¶
This section is empty.
Functions ¶
func BinaryReadBlocks ¶
func BinaryWriteBlocks ¶
func TransmitByteable ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.