Raises an exception as "ofReferences" is not a valid message for ByteArray. A ByteArray can only consist of actual characters, rather than references to characters.