Hi folks,
v8cgi is finally starting to fully support Binary data type.
Specifically, the CommonJS/Binary/F proposal was chosen as the best
candidate.
There is now a new branch (branches/binary) available, which already
contains numerous binary-related changes and I hope I will merge it
into trunk for release of v8cgi 0.9.0.
New changes include:
* new zlib module
* File::read, File::write, Socket::send, Socket::receive,
system.stdin, system.stdout, Image::save now accept and/or return
Buffer data type
* relevant libraries and examples using methods mentioned above are
being rewritten to be compatible
* File/Directory objects are now separated to "fs" module
* unit tests are update to reflect changes above
* module "util" is going to be removed
A new wikipage,
http://code.google.com/p/v8cgi/wiki/Binary, shows how
to handle Buffer instances from C++ code.
Please help me test all this new stuff; also let me know should you
encounter any issues regarding handling of binary data in v8cgi.
Sincerely,
Ondrej