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