AmericasCup.Data.TextMessage.Read C# (CSharp) 메소드

Read() 공개 정적인 메소드

public static Read ( byte buf, int c, TextMessage tm ) : int
buf byte
c int
tm TextMessage
리턴 int
        public static int Read(byte[] buf, int c, TextMessage tm)
        {
            tm.LineNumber = buf[c++];
            tm.TextLength = buf[c++];
            tm.Text = Encoding.ASCII.GetString(buf, c, tm.TextLength);
            c += tm.TextLength;
            return c;
        }
TextMessage