Fixed a bug where reads would not work in the C++ version of SerialSample
Fixed a bug where reads would not work in the C++ version of SerialSample

jordanrh1/samples,Sumahitha/samples,javiddhankwala/samples,zhuridartem/samples,sewong/samples,parameshbabu/samples,neilshipp/samples,jayhopeter/samples,jordanrh1/samples,tjaffri/msiot-samples,rachitb777/samples,MasayukiNagase/samples,jordanrh1/samples,zhuridartem/samples,javiddhankwala/samples,Sumahitha/samples,javiddhankwala/samples,neilshipp/samples,zhuridartem/samples,tjaffri/msiot-samples,neilshipp/samples,derekameer/samples,jayhopeter/samples,paulmon/samples,parameshbabu/samples,jayhopeter/samples,Sumahitha/samples,MasayukiNagase/samples,tjaffri/msiot-samples,bfjelds/samples,parameshbabu/samples,dotMorten/samples,javiddhankwala/samples,sewong/samples,javiddhankwala/samples,rachitb777/samples,dotMorten/samples,dotMorten/samples,MasayukiNagase/samples,Sumahitha/samples,jessekaplan/samples,dotMorten/samples,ms-iot/samples,MasayukiNagase/samples,jordanrh1/samples,parameshbabu/samples,bfjelds/samples,paulmon/samples,bfjelds/samples,bfjelds/samples,neilshipp/samples,ms-iot/samples,javiddhankwala/samples,jayhopeter/samples,zhuridartem/samples,derekameer/samples,tjaffri/msiot-samples,paulmon/samples,sewong/samples,paulmon/samples,derekameer/samples,javiddhankwala/samples,zhuridartem/samples,sewong/samples,jordanrh1/samples,Sumahitha/samples,jordanrh1/samples,bfjelds/samples,MasayukiNagase/samples,bfjelds/samples,rachitb777/samples,sewong/samples,ms-iot/samples,jessekaplan/samples,parameshbabu/samples,bfjelds/samples,zhuridartem/samples,bfjelds/samples,ms-iot/samples,sewong/samples,jordanrh1/samples,jessekaplan/samples,zhuridartem/samples,derekameer/samples,paulmon/samples,derekameer/samples,neilshipp/samples,parameshbabu/samples,javiddhankwala/samples,parameshbabu/samples,derekameer/samples,derekameer/samples,derekameer/samples,jordanrh1/samples,rachitb777/samples,jayhopeter/samples,neilshipp/samples,parameshbabu/samples,neilshipp/samples,rachitb777/samples,neilshipp/samples,jordanrh1/samples,dotMorten/samples,jessekaplan/samples,MasayukiNagase/samples,derekameer/samples,ms-iot/samples,MasayukiNagase/samples,jayhopeter/samples,Sumahitha/samples,paulmon/samples,ms-iot/samples,jessekaplan/samples,MasayukiNagase/samples,javiddhankwala/samples,paulmon/samples,parameshbabu/samples,dotMorten/samples,rachitb777/samples,zhuridartem/samples,bfjelds/samples,MasayukiNagase/samples,Sumahitha/samples,zhuridartem/samples,dotMorten/samples,zhuridartem/samples,Sumahitha/samples,tjaffri/msiot-samples,jessekaplan/samples,parameshbabu/samples,jessekaplan/samples,rachitb777/samples,paulmon/samples,MicrosoftEdge/WebOnPi,tjaffri/msiot-samples,jayhopeter/samples,jessekaplan/samples,paulmon/samples,ms-iot/samples,ms-iot/samples,tjaffri/msiot-samples,tjaffri/msiot-samples,sewong/samples,bfjelds/samples,tjaffri/msiot-samples,sewong/samples,jessekaplan/samples,paulmon/samples,MicrosoftEdge/WebOnPi,tjaffri/msiot-samples,jessekaplan/samples,dotMorten/samples,derekameer/samples,rachitb777/samples,jayhopeter/samples,javiddhankwala/samples,MasayukiNagase/samples,jordanrh1/samples,jayhopeter/samples,sewong/samples,sewong/samples,ms-iot/samples,ms-iot/samples,rachitb777/samples,jayhopeter/samples,rachitb777/samples