Just the if below, you either init byteOverhead to one value or with stringData to another... to make the branching logic more readable.