Converts bits into bytes