Initial import of the bytscl function.