PHP 8.3.31
Preview: EightBitContentEncoder.php Size: 834 B
/home/getspomw/royalsquad.us/vendor/symfony/mime/Encoder/EightBitContentEncoder.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Mime\Encoder;

/**
 * @author Fabien Potencier <fabien@symfony.com>
 */
final class EightBitContentEncoder implements ContentEncoderInterface
{
    public function encodeByteStream($stream, int $maxLineLength = 0): iterable
    {
        while (!feof($stream)) {
            yield fread($stream, 16372);
        }
    }

    public function getName(): string
    {
        return '8bit';
    }

    public function encodeString(string $string, ?string $charset = 'utf-8', int $firstLineOffset = 0, int $maxLineLength = 0): string
    {
        return $string;
    }
}

Directory Contents

Dirs: 0 × Files: 14

Name Size Perms Modified Actions
689 B lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
1.30 KB lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
1.25 KB lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
1.26 KB lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
668 B lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
834 B lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
717 B lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
10.01 KB lrw-r--r-- 2026-04-26 08:36:12
Edit Download
1.28 KB lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
467 B lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
1.69 KB lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
7.67 KB lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
1.05 KB lrw-rw-rw- 2025-09-17 06:53:20
Edit Download
1.40 KB lrw-rw-rw- 2025-09-17 06:53:20
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).