What is C# analog of C fread()?
In C code here we use
fread(inbuf, 1, AUDIO_INBUF_SIZE, f);
What could be its exact analog?
Jon Skeet :
The closest would be Stream.Read\n\nbyte[] buffer = new byte[8192];\nint bytesRead = stream.Read(buffer, 0, buffer.Length);\n",
2010-07-23T13:32:01