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