Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gltfpack: Fix a rare IO issue with new node.js CLI
fs.readFileSync can return a Buffer that doesn't start at the beginning of backing ArrayBuffer. This means that to read the data correctly we need to respect the byte offset of file.data.
- Loading branch information