Read glb file from string

Pretty much like this example, but I want to read a .glb file, not a .gltf file, because it’s a model with textures and materials. Is there a way to have a .glb string and have babylonjs instantiate a model from it? Or is there a way to use a normal .gltf but with the external textures and materials embedded in the string as well?

You could use base64 for glb