ByteArray is the principal class of the data representation of Hex Fiend. It is conceptually a mutable sequence of bytes. It is also a conceptual sequence of ByteArrayPieces. It provides methods to insert or replace data within a LongRange in
void*, ByteSlice, or ByteArray form, and to delete data within a particular range. It also contains methods for search.