System.IO.Stream.ReadList(int)

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

2 Examples 7

19 Source : extensions.cs
with Apache License 2.0
from AntonioDePau

public static List<T> ReadList<T>(this Stream stream, int offset, int count)
		where T : clreplaced
	{
		stream.Position = offset;
		return stream.ReadList<T>(count);
	}

19 Source : StreamExtensions.cs
with Apache License 2.0
from Xeeynamo

public static List<T> ReadList<T>(this Stream stream, int offset, int count)
            where T : clreplaced
        {
            stream.Position = offset;
            return stream.ReadList<T>(count);
        }