2009-08-22, 02:05
Could anyone share a piece of standard code to read an entire file in memory? I'm a noob when it comes to the XBMC C++ code, but eager to learn more of it
I'd like to use it on an enhancement to the HTTP API TakeScreenshot where an additional parameter would specify whether to download the screenshot as binary or base64 encoded. I have a feeling that encoding the file in base64 is rather slow on Xbox and I'd like to speed it up by sending over the binary file as an option.
Thanks,
Dan
I'd like to use it on an enhancement to the HTTP API TakeScreenshot where an additional parameter would specify whether to download the screenshot as binary or base64 encoded. I have a feeling that encoding the file in base64 is rather slow on Xbox and I'd like to speed it up by sending over the binary file as an option.
Thanks,
Dan