Method and Description |
---|
com.sun.xml.messaging.saaj.packaging.mime.util.ASCIIUtility.getBytes(InputStream)
this is an expensive operation that require an additional
buffer reallocation just to get the array of an exact size.
Unless you absolutely need the exact size array, don't use this.
Use
ByteOutputStream and ByteOutputStream.write(InputStream) . |
com.sun.xml.messaging.saaj.util.ByteOutputStream.toByteArray()
because this is evil!
|
Copyright © 2015 Oracle. All Rights Reserved.