func (b *AtomicFixedSizeRingBuf) ContigLen() int {
	b.tex.Lock()
	defer b.tex.Unlock()

	extent := b.Beg + b.readable
	firstContigLen := intMin2(extent, b.N) - b.Beg
	return firstContigLen
}
func (b *AtomicFixedSizeRingBuf) ContigLen() int {
	b.tex.Lock()
	defer b.tex.Unlock()

	extent := b.Beg + b.readable
	firstContigLen := intMin2(extent, b.N) - b.Beg
	return firstContigLen
}
func ( b * AtomicFixedSizeRingBuf ) ContigLen ( ) int { b . tex . Lock ( ) defer b . tex . Unlock ( ) extent := b . Beg + b . readable firstContigLen := intMin2 ( extent , b . N ) - b . Beg return firstContigLen }
// ContigLen gets the length of the largest read that we can provide to a contiguous slice
// without an extra linearizing copy of all bytes internally.
ContigLen gets the length of the largest read that we can provide to a contiguous slice without an extra linearizing copy of all bytes internally .