Made RawData 'unsigned char' -> Needs testing, but seems OK at first
glance