Hi plz help me i can't find out callback function for CURLOPT_WRITEFUNCTION to download images and save it to file or memory. Thank you for help.
A:
The first hit on Google when I searched for "CURLOPT_WRITEFUNCTION" was something which seem to be exactly what you're looking for.
dutt
2010-10-11 00:12:00
No i'm talking about c# for example this function uses for reading string data public static Int32 OnWriteData(Byte[] buf, Int32 size, Int32 nmemb, Object extraData) { // Console.Write(System.Text.Encoding.UTF8.GetString( buf)); SockBuff = SockBuff + System.Text.Encoding.UTF8.GetString(buf); return size * nmemb; } but i need to read binary data like images
imbriarius
2010-10-11 13:33:19