Getting user's data from an RFID tag using Circuito's library

Thank you for your reply. I have already checked and used rfid/rfid_read_personal_data.ino at master · miguelbalboa/rfid · GitHub before posting this topic.

The thing is this. For example, in rfid_read_personal_data.ino, it uses MFRC522.h, while the one provided by Circuito uses its own RFID.h. And I am wiring in Circuito's way, which does not use SPI pins. The code from Github uses SPI pins so I need to use Circuito's implementation in this case.

Let's put it this way:

I see the following methods in RFID.cpp:

/ *
  * MFRC522Read -> read
  * Reading block data
  * Input parameters: blockAddr - block address; recvData - read a block of data
  * MI_OK Return value: the successful return MI_OK
  * /
unsigned char RFID::read(unsigned char blockAddr, unsigned char *recvData)
{
    unsigned char status;
    unsigned int unLen;

    recvData[0] = PICC_READ;
    recvData[1] = blockAddr;
    calculateCRC(recvData,2, &recvData[2]);
    status = MFRC522ToCard(PCD_TRANSCEIVE, recvData, 4, recvData, &unLen);

    if ((status != MI_OK) || (unLen != 0x90))
    {
        status = MI_ERR;
    }
    
    return status;
}

I am assuming this method is used for retrieving data from an RFID tag. I am used to Javascript's ways of retrieving data via return statement, but with C++'s pointer, I am not sure what to do. Could you please provide me a code snippet in how can I receive data from this method?