Пример #1
0
            public ICollection <byte[]> GetPayload()
            {
                List <byte[]> result = null;

                if (spans.IsPayloadAvailable())
                {
                    result = new List <byte[]>(spans.GetPayload());
                }
                return(result);
            }
Пример #2
0
            public ICollection <byte[]> GetPayload()
            {
                List <byte[]> result = null;
                PayloadSpans  theTop = (PayloadSpans)Top();

                if (theTop != null && theTop.IsPayloadAvailable())
                {
                    result = new List <byte[]>(theTop.GetPayload());
                }
                return(result);
            }
 public ICollection <byte[]> GetPayload()
 {
     return(new List <byte[]>(spans.GetPayload()));
 }