Initialize mPaddingLength in the proper location
Don't try doing padding handling if there is no padding