Skip to content

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

@robertomonno77

Description

@robertomonno77

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! :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions