binaryreader
Reading custom binary data formats in C# .NET
I\'m trying to write a simple reader for AutoCAD\'s DWG files in .NET. I don\'t actually need to access all data in the file so the complexity that would otherwise be involved in writing a reader/writ[详细]
2023-01-12 17:02 分类:问答Reading in a binary file containing an unknown quantity of structures (C#)
Ok, so I currently have a binary file containing an unknown number of structs like this: private struct sTestStruct[详细]
2023-01-11 14:01 分类:问答I have written the exact code in vb and C# and it doesnt work the same... logic is identical... i hope
Kind of new to C# and trying to broaden my abilities a bit. I have this code in VB: Private Sub BreakdownFilesToCompare(ByRef file1BReader As BinaryReader, _[详细]
2023-01-11 12:35 分类:问答C# Process Binary File, Multi-Thread Processing
I have the following code that processes a binary file. I want to split the processing workload by using threads and assigning each line of the binary file to threads in the ThreadPool. Processing tim[详细]
2022-12-27 20:29 分类:问答Excel 2007 file writer in C# results in a corrupt file
I am using a BinaryReader to read an Excel 2007 file from an Exchange mailbox using a OWA, the file is then written to disk using a BinaryWriter.My problem is that the two files don\'t match when the[详细]
2022-12-25 16:35 分类:问答EndianBinaryReader - Contious update of the input stream?
I am trying to use the EndianBinaryReader and EndianBinaryWriter that Jon Skeet wrote as part of his misc utils lib.It works great for the two uses I have made of it.[详细]
2022-12-17 16:05 分类:问答Issue with BinaryReader.ReadChars()
I\'ve run into what I believe is an issue with the BinaryReader.ReadChars() method.When I wrap a BinaryReader around a raw socket NetworkStream occasionally I get a stream corruption where the stream[详细]
2022-12-13 02:33 分类:问答