什么是 C fread() 的 C# 模拟?
fread(inbuf, 1, AUDIO_INBUF_SIZE, f);
它的确切模拟是什么?
最接近的是Stream.Read
byte[] buffer = new byte[8192];
int bytesRead = stream.Read(buffer, 0, buffer.Length);
Stream.Read(...)
http://msdn.microsoft.com/en-us/library/system.io.stream.read.aspx