I suggest avoiding the use of magic numbers can often make the code less likely to have buffer over runs.

Tim S.