pycapnp
pycapnp copied to clipboard
Update _setDynamicField and _setDynamicFieldWithField to support memoryview
Would it be possible to update: _setDynamicField and _setDynamicFieldWithField to support value_type memoryview ?
This would prevent us having to copy into a new bytes just to write to a Data field.
Many thanks
I don't have a lot of time these days, but I'm happy to review a PR on this. Conceptually, I think this might work.