OpenRA.StreamExts.ReadASCII C# (CSharp) Method

ReadASCII() public static method

public static ReadASCII ( this s, int length ) : string
s this
length int
return string
        public static string ReadASCII(this Stream s, int length)
        {
            return new string(Encoding.ASCII.GetChars(s.ReadBytes(length)));
        }