MailMimeParser 0.4

Base64EncodeStreamFilter.php

Interfaces, Classes and Traits

Base64EncodeStreamFilter
Unfortunately neither the built-in base64 encoder in PHP, nor the HHVM implementation for their ConvertFilter seem to handle large streams correctly. There appears to be no provision for data coming in when they're not split on 3 byte-chunks (each 3-byte chunk trnaslates to 4-bytes of base64 encoded data).

Search results