OpenRA.StreamExts.ReadASCII C# (CSharp) Méthode

ReadASCII() public static méthode

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