Oh, crap you are right of course. You see, I put the actual utf8 conversions into these methods at first - needless to say, it didn't work, since these have nothing to do with parsing text as I had soon discovered. Nevertheless, I kept thinking that we won't know the size of resulting byte array (as would be true in case of utf8 conversion) and thus kept things like this (Uint8Array has a fixed size). I'll rebase things to the newest master and fix it.