#include <mw/nfcrawdata.h>
class MNfcRawData |
Public Member Functions | |
---|---|
pure virtual TUint | ExportRawDataL(TDes8 &, TUint) |
pure virtual TUint | ImportRawDataL(const TDesC8 &, TUint) |
pure virtual TUint | SizeL() |
NFC raw data handling interface for importing/exporting data and querying the size of the data.
Transforms this item into raw data. Writing is done by inserting, not by overwriting. Leave codes are to be defined within implementing classes because of context specific error cases.
Parameter | Description |
---|---|
aBuf | Descriptor for a buffer to write raw data to. |
aPos | Position to start writing. |
Returns: Amount of bytes written.
Initializes this item from raw data. Leave codes are to be defined within implementing classes because of context specific error cases.
Parameter | Description |
---|---|
aBuf | Descriptor for a buffer to read raw data from. |
aPos | Position to start reading. |
Returns: Amount of bytes read.
TUint | SizeL | ( | ) | const [pure virtual] |
Returns the size (bytes) of the item in NFC raw data format. Leave codes are to be defined within implementing classes because of context specific error cases.
Returns: Amount of bytes this item takes in raw data format.