Brian Benjamin Maranville

Results 130 comments of Brian Benjamin Maranville

Sorry, I can't be much help until I understand how this very specific build process works... I went through the instructions for doing a local build, but after I build...

I would be happy to be a maintainer. Thanks!

We're still working on a 1.0 release, which should be out soon, and this recipe will be the next thing to address after that.

Sorry, my question was not really about the typing of the object (as in TypeScript) but about the logic - what would you do if `globalThis.Float16Array` doesn't exist? Do you...

The logic for this should be pretty simple - in the `getAccessor()` function you can check for size === 2 and return Float16Array if it is supported, but I can't...

The tricky part is just memory allocation and deallocation. For vlen strings the hdf5 library has some built in helpers for this, but I think for general vlen types you...

As for reading the data, what you get in the first read will be an array of this type: https://docs.hdfgroup.org/hdf5/v1_12/structhvl__t.html which gives you the length of the element and a...

Actually, after looking at it I'm not sure the flow for other vlen types would be very different from the implemented flow for vlen strings... just instead of using Module.UTF8ToString...

here is a working prototype based on what you have described so far: ```diff diff --git a/src/hdf5_hl.ts b/src/hdf5_hl.ts index 4feda52..a4e564f 100644 --- a/src/hdf5_hl.ts +++ b/src/hdf5_hl.ts @@ -208,6 +208,22 @@ function...

I added this to your test and it passed! ```javascript assert.deepEqual(f.get('float32_oneD').value, [ new Float32Array([0]), new Float32Array([0, 1]), new Float32Array([0, 1, 2]) ]); ```