<p> The new buffer's position will be zero, its limit will be its
capacity, its mark will be undefined, and each of its elements will be
initialized to zero. It will have a {@link #array backing array},
and its {@link #arrayOffset array offset} will be zero.
@param capacity
The new buffer's capacity, in bytes
@return The new byte buffer
@throws IllegalArgumentException
If the <tt>capacity</tt> is a negative integer
Allocates a new byte buffer.
<p> The new buffer's position will be zero, its limit will be its capacity, its mark will be undefined, and each of its elements will be initialized to zero. It will have a {@link #array backing array}, and its {@link #arrayOffset array offset} will be zero.
@param capacity The new buffer's capacity, in bytes
@return The new byte buffer
@throws IllegalArgumentException If the <tt>capacity</tt> is a negative integer