System.IO.BinaryReader.ReadByteArray()

Here are the examples of the csharp api System.IO.BinaryReader.ReadByteArray() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : BinaryReaderExtensions.cs
with MIT License
from dotnet

public static object ReadObject(this BinaryReader reader)
        {
            if (reader == null)
            {
                throw new ArgumentNullException(nameof(reader));
            }

            return ByteArrayToObject(reader.ReadByteArray());
        }