#17 implementation of getBytes() functions (MS1 version) finished