OpenRA.StreamExts.ReadASCII C# (CSharp) 메소드

ReadASCII() 공개 정적인 메소드

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