mem16_t replaced

I think it's not bad to use pointer type when possible, because it's
often originally pointer, not reference.