Docstring for ensure bytes