Adapted Packet0 to use DataCodec