Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix toArrayBuffer example in Frame Processor Guide #2595

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

ltrel
Copy link
Contributor

@ltrel ltrel commented Feb 20, 2024

What

This PR fixes an issue on the Frame Processor page in the guide which shows an ArrayBuffer being indexed directly without first creating a view into the buffer with a Uint8Array.

Before:
image

After:
image

Changes

Updates the toArrayBuffer example on the Frame Processor guide page to match the correct example on the function's API documentation page

Tested on

Firefox

Related issues

N/A

Copy link

vercel bot commented Feb 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-vision-camera ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2024 6:52am

@mrousavy
Copy link
Owner

Amazing thank you!

@mrousavy mrousavy merged commit 4c159af into mrousavy:main Feb 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants