fix the nextFrameOffset
fix the nextFrameOffset

when calculating nextFrameOffset keep in mint that the frameOffsets[] point of reference is baseOffset, frameOffsets[0] = 0 , since later we are doing a "byteStream.position < nextFrameOffset" we need to adjust the nextFrameOffset to have the point of reference the begining of byteStream, so nextFrameOffset = baseOffset + frameOffsets[frame+1];
cornerstonejs/dicomParser,thiagoss/dicomParser,google/dicomParser,thiagoss/dicomParser,yagni/dicomParser,chafey/dicomParser