Hello,
is there _any_ way to specify an empty byte array (but not NULL)?
There also seems to be no way to specify byte array constatnts or
convert other constants to bytearray. Is there any reason why the
constants and conversions to bytearray disallowed?
thanks in advance.
-Dmitriy
No, bytearray constants are not supported.
The reason for not supporting casts to bytearray is we would need a mechanism
to describe how to do the casts (are strings stored as UTF-8 or something else,
how are numeric values handled?) that we don't have.
The reason for not allowing a bytearray