Actually use byes in getRandomBuffer