toByteArrayOrNull

A copy of the bytes this object views when it is an ArrayBuffer, a typed array or a DataView, read without running any script, or null for any other object. A detached buffer, or a view past the end of its buffer, gives no bytes.