Added all (currently) needed methods to DataCodec
Added all (currently) needed methods to DataCodec