I am currently using the htscodecs library to create python bindings for it because I am interested in using the codecs in contexts outside of CRAM and htslib in an easy plug and play kind of fashion. Python also works well for experimenting a bit.
I found that in the codecs there are no const qualifiers on input data. Python objects are immutable mostly, so the compiler warns me about throwing these pointers into functions without const qualifiers. I assume input data is not changed, but is that the case? Is it sometimes used as a buffer to do things?
I am currently using the htscodecs library to create python bindings for it because I am interested in using the codecs in contexts outside of CRAM and htslib in an easy plug and play kind of fashion. Python also works well for experimenting a bit.
I found that in the codecs there are no
constqualifiers on input data. Python objects are immutable mostly, so the compiler warns me about throwing these pointers into functions without const qualifiers. I assume input data is not changed, but is that the case? Is it sometimes used as a buffer to do things?