Syntax for creating ByteArray

Former Member
Former Member
Hello, is there a syntax for creating ByteArray, similar to regular Array? Like, var arr = [10]b; or whatever. Also, it seems that ByteArray cannot be added to Array, which is weird (given that the opposite is possible, according to the documentation).