Description
Currently in BlobOutputStreamInternal::dispatchWrite, buffer is copied internally for every write. During large uploads this can be around 4 MB. This can be avoided if there is internal class which extends ByteArrayOutputStream with additional method "ByteArrayInputStream getInputStream()".