Message 338608 - Python tracker (original) (raw)

Just to demonstrate what the format would look like, this is working for an array of fixed bytes:

x = xnd([b"123", b"23456"], dtype="fixed_bytes(size=10)") memoryview(x).format '10s'

So the formats in the previous message would be '10u' and '10w'.