28 #ifndef CASA_CONVERSION_H
29 #define CASA_CONVERSION_H
115 static size_t boolToBit (
void* to,
const void* from,
117 static void boolToBit (
void* to,
const void* from,
126 static size_t bitToBool (
void* to,
const void* from,
128 static void bitToBool (
void* to,
const void* from,
138 static size_t valueCopy (
void* to,
const void* from,
147 static size_t bitToBool_ (
void* to,
const void* from,
static size_t bitToBool_(void *to, const void *from, size_t nvalues)
Copy bits to Bool in an unoptimized way needed when 'to' is not aligned properly. ...
void * ByteFunction(void *to, const void *from, size_t nbytes)
Define the signature of a function converting from one format to another providing the number of byte...
static size_t bitToBool(void *to, const void *from, size_t nvalues)
Convert a stream of Bools to output format (as bits).
A class with general conversion definitions.
static size_t boolToBit(void *to, const void *from, size_t nvalues)
Convert a stream of Bools to output format (as bits).
static size_t valueCopy(void *to, const void *from, size_t nbytes)
Copy a value using memcpy.
static ByteFunction * getmemcpy()
Get a pointer to the memcpy function.
size_t ValueFunction(void *to, const void *from, size_t nvalues)
Define the signature of a function converting nvalues values from internal to external format or vice...
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.