```
std::vector<unsigned char> b256(strlen(psz) * 733 / 1000 + 1)
```
Would avoid a realloc.