generator: Add support for fixed length arrays

generator: Fix codestyle

Better codestyle