objectbuffer icon indicating copy to clipboard operation
objectbuffer copied to clipboard

JavaScript Object like api, backed by an arraybuffer

Results 35 objectbuffer issues
Sort by recently updated
recently updated
newest added

The current api is very ad-hoc. We need to brainstorm and decide on a public api that we can stand for.

I need to store a `Map` in an object-backed buffer. I tried [using](https://www.npmjs.com/package/object-sizeof) `object-sizeof` to estimate the size of that map. Judging from the implementation, internally, it converts to `Object.fromEntries()`...

I'm try to create an object in the main thread basically in this way: ` createObjectBuffer( , {type: 'A', proto: data, protoLength: data.byteLength}, {}, window.crossOriginIsolated ? 'shared' : 'vanilla' );...