Mutable strings are...a folly of a quaint, bygone era. They are warts on otherwise timeless designs like Scheme and Smalltalk.
Get a mutable octet-vector object type. You'll be much happier.