예제 #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);
            }
예제 #3
0
            public bool IsPayloadAvailable()
            {
                PayloadSpans top = Top();

                return(top != null && top.IsPayloadAvailable());
            }
 public bool IsPayloadAvailable()
 {
     return(spans.IsPayloadAvailable());
 }