class Aws::S3::EncryptionV2::IODecrypter

def initialize(cipher, io)

Parameters:
  • io (IO#write) -- An IO-like object that responds to `#write`.
  • cipher (OpenSSL::Cipher) --
def initialize(cipher, io)
  @cipher = cipher
  # Ensure that IO is reset between retries
  @io = io.tap { |io| io.truncate(0) if io.respond_to?(:truncate) }
  @cipher_buffer = String.new
end