Fixes #664 : correct signatures of read/writeData on DataSerializable im...

...pl