read() read(string $filename, bool $base64Encode = false) : string Read a filename from filesystem and return its binary data. Optionally, base64 encode the returned binary data. Parameters string $filename bool $base64Encode Returns string —
write() write(string $filename, string $binaryData, bool $base64Encoded = false) : bool Write binary data to a filename on filesystem. Optionally, based decode the binary data before writing. Parameters string $filename string $binaryData bool $base64Encoded Returns bool —