What is the C # analog of C fread ()?
The C code that we use
fread(inbuf, 1, AUDIO_INBUF_SIZE, f);
What could be its exact counterpart?
The closest will be Stream.Read
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
Source: https://habr.com/ru/post/1756192/More articles:Navigation incorrectly placed in html / css - htmlHow do I complete this runoff step? - databaseEntity Framework 4 Code First Custom Table Mapping Issues with Fluent API - c #What is the java unit test library for http? - javaWITH#/. NET Shell for WIN32 Comm API Serial Port - c #how to get client IP address using C # socket programming - c #Android - request if synchronization account is synchronized for synchronization - androidSilverlight MVVM: How to do localization correctly? - silverlightClojure: gen-class and double arrays - clojureWhat is a temporary distribution? - memory-managementAll Articles