
Also remove intermediate object allocations in `Util.toByteArray(int...)`. `Util.toByteArray(InputStream)` is kept (but deprecated) because it's been part of the library for a while and might be in use by some apps. The others are much newer, so the chance of usages outside the library is very low, so we just remove them directly. PiperOrigin-RevId: 613878453