68 size_t buffLen,
bool RNA);
78 PyObject *restrict key);
94#define FastaBuff_Check(op) PyObject_TypeCheck(op, &FastaBuffType)
PyTypeObject FastaBuffType
The Python type definition for the FastaBuff object.
Definition FastaBuff.c:725
uint8_t FastaBuff_getItem(FastaBuff *self, Py_ssize_t index)
Gets an item from the FastaBuff.
Definition FastaBuff.c:173
FastaBuff * FastaBuff_New(uint8_t *restrict buff, size_t buffSize, size_t buffLen, bool RNA)
Creates a new FastaBuff object.
Definition FastaBuff.c:607
PyObject * FastaBuff_getSubscript(FastaBuff *restrict self, PyObject *restrict key)
Gets a subsequence of the FastaBuff.
Definition FastaBuff.c:488
A buffer that holds packed uint4 FASTA data.
Definition FastaBuff.h:30
bool RNA
If true, T will be converted to U.
Definition FastaBuff.h:50
uint8_t * buff
The buffer that holds the packed FASTA data.
Definition FastaBuff.h:35
size_t buffLen
The length of the sequence.
Definition FastaBuff.h:45
size_t buffSize
The size of the buffer in bytes.
Definition FastaBuff.h:40