MailMimeParser 0.4

Base64DecodeStreamFilter.php

Interfaces, Classes and Traits

Base64DecodeStreamFilter
Unfortunately neither the built-in base64 decoder 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 4 byte-chunks (each 4-byte chunk of base-64 encoded data translates to 3-bytes of unencoded data).

Search results