microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java
@DoesServiceRequest
    public final int downloadToByteArray(final byte[] buffer, final int bufferOffset) throws StorageException {
        return this
                .downloadToByteArray(buffer, bufferOffset, null /* accessCondition */, null /* options */, null /* opContext */);
    }
@DoesServiceRequest
    public final int downloadToByteArray(final byte[] buffer, final int bufferOffset) throws StorageException {
        return this
                .downloadToByteArray(buffer, bufferOffset, null /* accessCondition */, null /* options */, null /* opContext */);
    }
@ DoesServiceRequest public final int downloadToByteArray ( final byte [ ] buffer , final int bufferOffset ) throws StorageException { return this . downloadToByteArray ( buffer , bufferOffset , null /* accessCondition */ , null /* options */ , null /* opContext */ ) ; }
Downloads a range of bytes from the file to the given byte buffer.

@param buffer
A <code>byte</code> array which represents the buffer to which the file bytes are downloaded.
@param bufferOffset
An <code>int</code> which represents the byte offset to use as the starting point for the target.

@throws StorageException
If a storage service error occurred.
Downloads a range of bytes from the file to the given byte buffer .