capacitythe capacity of the new buffer.
Documentation for this section has not yet been entered.
TypeReasonJava.Lang.IllegalArgumentExceptionif capacity is less than zero.
Creates a short buffer based on a newly allocated short array.
[Android Documentation]