Messages in the wild sometimes produce a negative length which will cause a buffer range error exception, stating size argument must not be negative. This occurs in the new Buffer() constructor of the GetStr() function. This his been tested on several different ships using several different AIS receiver boxes.
Messages in the wild sometimes produce a negative length which will cause a buffer range error exception, stating size argument must not be negative. This occurs in the new Buffer() constructor of the GetStr() function. This his been tested on several different ships using several different AIS receiver boxes.