func (b *readBio) MakeCBIO() *C.BIO { rv := C.BIO_new(C.BIO_s_readBio()) rv.ptr = unsafe.Pointer(b) return rv }
func (b *readBio) MakeCBIO() *C.BIO { b.buf = bufPool.Get() rv := C.BIO_new(C.BIO_s_readBio()) rv.ptr = unsafe.Pointer(b) return rv }
func (b *readBio) MakeCBIO() *C.BIO { rv := C.BIO_new(C.BIO_s_readBio()) token := readBioMapping.Add(unsafe.Pointer(b)) rv.ptr = unsafe.Pointer(token) return rv }