class Aws::S3::EncryptionV2::IOEncrypter
def read(bytes = nil, output_buffer = nil)
def read(bytes = nil, output_buffer = nil) if @encrypted.is_a?(Tempfile) && @encrypted.closed? @encrypted.open @encrypted.binmode end @encrypted.read(bytes, output_buffer) end