How to load the raw data of GLB

I want to add a byte array (Uint8Array) of GLB files to a scene.
I have tried the code below, but it does not work, am I using GLTFLoader incorrectly?
It appears that neither the onLoad nor onError callback functions are being called.

                const loader = new GLTFLoader();
                loader.parse(bytes, "",
                    (gltf) => {
                        const model = gltf.scene;

                        var bbox = new THREE.Box3().setFromObject(scene);
                        var center = bbox.clone().min.add(bbox.max).divideScalar(2.0);
                    (error) => {

Instead of using bytes, try it with bytes.buffer.

Thank you. It resoleved.