This meaning refers to a basic computing unit used to represent and store digital information.
One byte usually contains eight bits.
The file occupies several million bytes.
This broader use refers to measuring digital storage in bytes, kilobytes, megabytes, and related units.
Storage capacity is measured in bytes and larger units.
The message contains only a few hundred bytes.