Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java DataInputStream methods in C# BinaryReader

Tags:

java

c#

  1. what is the java DataInputStream readFully method equivalent in C# BinaryReader?
  2. What is the java DataInputStream mark and reset methods equivalent in C# BinaryReader or Stream?
like image 770
saikamesh Avatar asked Jul 17 '26 14:07

saikamesh


1 Answers

  1. see BinaryReader.Read(byte[], int, int)
  2. There is no object that have this behavior in .NET, you should implement it by yourself.
like image 123
Arnaud F. Avatar answered Jul 19 '26 03:07

Arnaud F.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!