Access raw buffer (for binary data)

From: Date: Tue, 01 Nov 2005 00:29:54 +0000
Subject: Access raw buffer (for binary data)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-19863@lists.php.net to get a copy of this message
I am developing a PHP plugin using PHP 4.4 SDK (not 5) and I need to access a parameter as a raw char * pointer instead of a string or any other C type. Until now to access parameters I am using the zend_get_parameters_ex routine and then the various convert_to_something routines. I think I can't use the convert_to_string function because my parameters is binary data but I wonder what I can use in this case, I need the raw char * pointer and not a C string... Thanks for you reply, Marco Bambini

« previous php.internals (#19863) next »