Support truncated messages by filling up enough empty bytes in the data array after reception.