Sets the size of the `GByteArray`, expanding it if necessary.
the new size of the `GByteArray`
a byte array
The `GByteArray`