Closed pavel-kirienko closed 2 years ago
Currently, one has to do this (assuming that the type of field is uint8[<=]):
field
uint8[<=]
dsdl_object.field = numpy.asarray(my_memoryview, dtype=numpy.uint8)
It is desirable to support automatic conversion:
dsdl_object.field = my_memoryview
Currently, one has to do this (assuming that the type of
field
isuint8[<=]
):It is desirable to support automatic conversion: