Flowdock
method

download_chunk

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: AzureStorageService
download_chunk(key, range) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/service/azure_storage_service.rb, line 49
    def download_chunk(key, range)
      instrument :download_chunk, key: key, range: range do
        handle_errors do
          _, io = client.get_blob(container, key, start_range: range.begin, end_range: range.exclude_end? ? range.end - 1 : range.end)
          io.force_encoding(Encoding::BINARY)
        end
      end
    end
Register or log in to add new notes.