Hello. How can I write Byte [] buf to the file without turning it into string ?
public Int32 OnWriteData(Byte[] buf, Int32 size, Int32 nmemb, Object extraData)
{
SockBuff = SockBuff + System.Text.Encoding.UTF8.GetString(buf);
return size * nmemb;
}
Been trying to find something working for hours now.