public ICollection <byte[]> GetPayload() { List <byte[]> result = null; if (spans.IsPayloadAvailable()) { result = new List <byte[]>(spans.GetPayload()); } return(result); }
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 bool IsPayloadAvailable() { PayloadSpans top = Top(); return(top != null && top.IsPayloadAvailable()); }
public bool IsPayloadAvailable() { return(spans.IsPayloadAvailable()); }