Command readBlock = new Command(Apdu.INS_READ_BINARY, 0x00, pageNumber, 4);
Response readBlockResponse = tag.transmit(readBlock);
if (!readBlockResponse.isSuccess()) {
throw new MfException("Reading block failed. Page: " + pageNumber + ", Response: " + readBlockResponse);
}
returnBlocks[currentPage] = new DataBlock(readBlockResponse.getData());
}
return returnBlocks;
}