I need to import binary data files each of which are up to 2 GB in size and manipulate the data it contains such as outputing chunks of the data to integer format to a CSV type file or maybe plotting the data directly from LiveCode. I have been learning C to do this kind of thing, but now I have stumbled across LiveCode I am desperately searching for a proper excuse to use it for this purpose

I was wondering what bitwise operations are available in LiveCode? Each data entry I have to extract is 2 bytes long, however at the beginning of the file there is information about the data which is composed of variable sized chunks of bits (not bytes) and this kind of information is also spread regularly throughout the data file. Ideally I would like to keep this information and possibly output it into a log file.
Any advice would be much appreciated!
Richard