How do I convert Texture2D to Bytes

How do I convert a Texture2D to Byte array?

There used to be this node in Blueprints but I can’t find it.