<?php
namespace Claromentis\Infocapture\Model;

$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("_139375b4728ef6" . "956da31aaa7727f" . "8cf" => base64_decode("VVRG" . "LTg="), "_830ba7b5a2" . "accecd59a1f" . "03d02e6ec72" => base64_decode("Y21fa" . "WNvbn" . "Y="), "_d8e7d6018547d8c10e1de" . "2e6a8aa6858" => base64_decode("ZndyaXR" . "l"), "_aed8da0f19091214b78f" . "80351048517c" => base64_decode("c3RybGV" . "u"));
use Claromentis\Core\Mail\Receive\Contract\MailAttachment;
use ZBateson\MailMimeParser\Message\Part\MimePart;




class MailboxMessageAttachment implements MailAttachment
{
    
    
    protected $attachment;
    protected $source_charset;
    
    
    
    
    
    public function __construct(MimePart $_47eed1aeea2c92efe9af919c40d41358, string $_b87911c3204a943bdce27fba03050ad2)
    {
        $this->attachment = $_47eed1aeea2c92efe9af919c40d41358;
        $this->source_charset = $_b87911c3204a943bdce27fba03050ad2;
    }
    
    
    
    
    public function GetName() : string
    {
        return $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_830ba7b" . "5a2accec" . "d59a1f03" . "d02e6ec7" . "2"]($this->source_charset, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_139375b4728ef" . "6956da31aaa772" . "7f8cf"], $this->attachment->getFilename());
    }
    
    
    
    
    
    
    public function GetSize() : int
    {
        return $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_aed8da0f19091" . "214b78f8035104" . "8517c"]($this->attachment->getContent());
    }
    
    
    
    
    
    
    
    
    public function SaveToStream($_1cc5aa2f679b575f82786a73f0da28f8) : int
    {
        return (int) $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_d8e7d6018547d8c10e1" . "de2e6a8aa6858"]($_1cc5aa2f679b575f82786a73f0da28f8, $this->attachment->getContent());
    }
}