System.IO.BinaryReader.ReadInt16sWithFixedLength(int)

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

2 Examples 7

19 Source : ExtensionMethod.cs
with The Unlicense
from OpenEpl

public static short[] ReadInt16sWithLengthPrefix(this BinaryReader reader)
        {
            return reader.ReadInt16sWithFixedLength(reader.ReadInt32());
        }

19 Source : ExtensionMethod.cs
with The Unlicense
from OpenEpl

public static short[] ReadInt16sWithByteSizePrefix(this BinaryReader reader)
        {
            return reader.ReadInt16sWithFixedLength(reader.ReadInt32() / sizeof(short));
        }