pub fn new(buf_size: usize) -> SegmentBufFactory {
        return SegmentBufFactory {
            pool: SQPool::new_with_factory(SBFFactory { buf_size }).with_recycler(SBFRecycler),
        };
    }
/// Returns a new SegmentBufFactory with the given parameters.
Returns a new SegmentBufFactory with the given parameters.
Returns a new SegmentBufFactory with the given parameters .
pub fn new(buf_size: usize) -> SegmentBufFactory {
        return SegmentBufFactory {
            pool: SQPool::new_with_factory(SBFFactory { buf_size }).with_recycler(SBFRecycler),
        };
    }
pub fn new ( buf_size : usize ) -> SegmentBufFactory { return SegmentBufFactory { pool : SQPool :: new_with_factory ( SBFFactory { buf_size } ) . with_recycler ( SBFRecycler ) , } ; }
Returns a new SegmentBufFactory with the given parameters.
Returns a new SegmentBufFactory with the given parameters .
buf_size
usize
buf_size
usize