Top "Binaryreader" questions

In .net is a class used to read binary values.

How to convert byte array to string

I created a byte array with two strings. How do I convert a byte array to string? var binWriter = new …

c# arrays binaryreader
An elegant way to consume (all bytes of a) BinaryReader?

Is there an elegant to emulate the StreamReader.ReadToEnd method with BinaryReader? Perhaps to put all the bytes into a …

c# .net stream streamreader binaryreader
C# checking for binary reader end of file

I was searching for a way to check whether I've reached the end of a file for my binary reader …

c# binaryfiles binaryreader
StreamReader vs BinaryReader?

Both StreamReader and BinaryReader can be used to get data from binary file ( for example ) BinaryReader : using (FileStream fs = File.…

c# .net file streamreader binaryreader
C# - Binary reader in Big Endian?

I'm trying to improve my understanding of the STFS file format by using a program to read all the different …

c# endianness binaryreader
Downloading pdf file using WebRequests

I'm trying to download a number of pdf files automagically given a list of urls. Here's the code I have: …

c# pdf webrequest binaryreader
Decompress byte array to string via BinaryReader yields empty string

I am trying to decompress a byte array and get it into a string using a binary reader. When the …

c# memorystream gzipstream binaryreader
EndOfStream for BinaryReader

BinaryReader does not have EndOfStream property. Is it safe to use following code to check if end of stream is …

c# streaming binaryreader
Faster (unsafe) BinaryReader in .NET

I came across a situation where I have a pretty big file that I need to read binary data from. …

c# performance pointers unsafe binaryreader
C# BinaryReader "stream does not support seek operations"

I am trying to download files from an ftp server using C# and ftpwebrequest. I can get the bytes using …

c# ftpwebrequest binaryreader