<?php
namespace Claromentis\Infocapture\Model;

$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"] ?: array()) + array("_aed8da0f19" . "091214b78f8" . "0351048517c" => base64_decode("c3Ryb" . "GVu"), "_d8e7d601854" . "7d8c10e1de2e" . "6a8aa6858" => base64_decode("ZndyaX" . "Rl"), "_139375b4728ef6956da31a" . "aa7727f8cf" => base64_decode("VVRGLTg" . "="), "_830ba7b5a2acce" . "cd59a1f03d02e6e" . "c72" => base64_decode("Y21" . "faW" . "Nvb" . "nY="));
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["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_830ba7b5a" . "2accecd59a" . "1f03d02e6e" . "c72"]($this->source_charset, $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_139375b4728ef6956da31aaa7727f8c" . "f"], $this->attachment->getFilename());
    }
    
    
    
    
    
    
    public function GetSize() : int
    {
        return $GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_aed8da0f1" . "9091214b78" . "f803510485" . "17c"]($this->attachment->getContent());
    }
    
    
    
    
    
    
    
    
    public function SaveToStream($_1cc5aa2f679b575f82786a73f0da28f8) : int
    {
        return (int) $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_d8e7d6018547d8c1" . "0e1de2e6a8aa6858"]($_1cc5aa2f679b575f82786a73f0da28f8, $this->attachment->getContent());
    }
}