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

Unable to create and load object buffer with inner arrayBuffer type #194

Open
robertomonno77 opened this issue Aug 8, 2024 · 1 comment

Comments

@robertomonno77
Copy link

I'm try to create an object in the main thread basically in this way:
createObjectBuffer( <length>, {type: 'A', proto: data, protoLength: data.byteLength}, {}, window.crossOriginIsolated ? 'shared' : 'vanilla' );
in which data is an ArrayBuffer type.
Unfortunately in the worker I'm receiving a strange buffer.proto which a type:
Proxy(Object) {objectBufferWrapper: 'objectBufferWrapper'}
How can I retrieve the "original" data info ?

Thanks a lot for your support and very good work around this library! :-)

@Bnaya
Copy link
Owner

Bnaya commented Aug 11, 2024

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

No branches or pull requests

2 participants