embedding a binary file ...
Posted: Thu Feb 12, 2015 11:37 am
I am looking to embed a (base64) gzip file within a header (.h) file stored in an array to be sent out later to a client (browser) using the http protocol with the "Content-Encoding", "gzip" header set ...
-Should I use base64 ... or is there another method to encode gzip binary data into a header file?
-Is there a header to also tag the data as base64 ... or will I have to decode the base64 before sending data?
-are there any limits (besides the obvious ram/rom limits) for arrays to be concerned about
-does anyone have any similar code examples laying around?
-does anyone have a better idea of how to do this?
thanks ...
-Should I use base64 ... or is there another method to encode gzip binary data into a header file?
-Is there a header to also tag the data as base64 ... or will I have to decode the base64 before sending data?
-are there any limits (besides the obvious ram/rom limits) for arrays to be concerned about
-does anyone have any similar code examples laying around?
-does anyone have a better idea of how to do this?
thanks ...