public bool Equals(BufferSegment other) { return(this.Data == other.Data && this.Offset == other.Offset && this.Count == other.Count); }
/// <summary> /// Release back a BufferSegment's data to the pool. /// </summary> /// <param name="segment"></param> public static void Release(BufferSegment segment) { Release(segment.Data); }