The bytes() method of the PushMessageData interface extracts push message data as a Uint8Array object.
bytes()
MDN Reference