Small refactoring of tbytevector.cpp