Skip to content

BEVE: read generic arrays into numeric, complex, bool, and string containers - #3130

Open
stephenberry wants to merge 1 commit into
mainfrom
beve-generic-array-numeric
Open

stephenberry wants to merge 1 commit into
mainfrom
beve-generic-array-numeric

Conversation

@stephenberry

Copy link
Copy Markdown
Owner

Fixes #3120.

Containers of numbers, complex values, booleans, and strings read only the BEVE typed-array form, so a generic array (0x05) of matching elements, including the empty 05 00, failed with syntax_error. These containers now also accept the generic-array form, reading each element as a tagged value of the element type. This applies to resizable and fixed-size arrays and to sets. Writing still emits typed arrays.

The generic-array path is moved into a read_generic_array helper in each reader so the typed branches can share it.

This branch has not been deployed

No deployments
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.

BEVE: numeric and complex vectors reject the generic-array form (including empty 05 00)

1 participant