fitSharp.Test.NUnit.Slim.TestSession.Read C# (CSharp) Method

Read() public method

public Read ( int length ) : string
length int
return string
        public string Read(int length)
        {
            if (Input.Length == 0) Input = "000003:bye";
            var result = Input.Substring(0, length);
            Input = Input.Substring(length);
            return result;
        }