#188 : added ability to specify offset on encoded data types and use that offset within composites. Added unit tests.