func lzoCompressBest(src []byte, dst []byte, dst_size *int) C.int { wrkmem := make([]byte, int(C.lzo1x_999_mem_compress())) return C.lzo1x_999_compress((*C.uchar)(unsafe.Pointer(&src[0])), C.lzo_uint(len(src)), (*C.uchar)(unsafe.Pointer(&dst[0])), (*C.lzo_uint)(unsafe.Pointer(dst_size)), unsafe.Pointer(&wrkmem[0])) }
func lzo1x_999_compress(b []byte, out []byte, out_size *int, wrkmem []byte) C.int { return C.lzo1x_999_compress((*C.uchar)(unsafe.Pointer(&b[0])), C.lzo_uint(len(b)), (*C.uchar)(unsafe.Pointer(&out[0])), (*C.lzo_uint)(unsafe.Pointer(out_size)), unsafe.Pointer(&wrkmem[0])) }