binaryreader
C# BinaryReader.ReadString on a network socket
I have a server/client app. Both use BinaryReader/Writer when communicating. When the client and server are exchanging messages rapidly, many in a given second, and I shutdown the server (via a buil[详细]
2023-04-11 13:26 分类:问答Delphi Prism: Does BinaryWriter "Write method" work the same as Writeln method from Delphi?
I am working with Delphi Prism and creating and writing into binary file using BinaryWriter as follows.[详细]
2023-04-04 06:31 分类:问答BinaryWriter problem - "code adds some byte between Write() method"
I am try to do some code using BinaryWriter and Then BinaryReader. When I wanna write I use method Write().[详细]
2023-04-01 20:53 分类:问答How many bits does BinaryReader.PeekChar() read?
I am working on improving a stream reader class that uses a BinaryReader. It consists of a while loop that uses .PeekChar() to check if more 开发者_开发知识库data exists to continue processing.[详细]
2023-03-31 01:44 分类:问答BinaryReader.Read does not throw IOException when the connection is lost
I use HttpWebResponse.BeginGetResponse() method to make a request to my server. The request has AllowReadStreamBuffering set to false so that the data will not be buffered. In the \"Request Complete\"[详细]
2023-03-26 02:19 分类:问答Reading n-bits from a 32bit chunk
I am trying to read a binary file written by an legacy Fortan application. It writes data into chunks of 32bit. Some of these 32bit chnuk contains mutiple data.[详细]
2023-02-21 05:16 分类:问答Edit or remove PDF header information in C
I need to edit the header information of several PDF files. What I\'d like to achieve is to remove all header data before %PDF-X.Y.Z.[详细]
2023-02-16 08:39 分类:问答Empty array with BinaryReader on UploadedFile in c#
Assume the following code: Stream file开发者_如何转开发 = files[0].InputStream; var FileLen = files[0].ContentLength;[详细]
2023-02-08 01:45 分类:问答C# client server application, BinaryReader throws an exception
I\'ve got task to make a server application, which checks if any file on the server (which name must be sent by the client) exists and if it exists to give back a response (message - \"This file exist[详细]
2023-02-07 13:06 分类:问答What does the FillBuffer method of BinaryReader do?
According to the documentation: Fills the internal buffer with the specified number of bytes rea开发者_如何学JAVAd from the stream.[详细]
2023-01-20 03:43 分类:问答