Analogue of python's: array.array('H', file.read(n_bytes))

Thanks for your response. It might be:

for <<part::integer-unsigned-size(16) <- data>>, do: part

As size means bits, not bytes. By the way integer-unsigned-size is big endian. Any way to code the same with little endian?