Added some byte utilities functions that I wrote while drunk (what can I
say?)