database: fixed size arrays and string charset

Annotations added to declare an array and byte buffer as fixed size
(smaller file) and specifying the charset for the string decoder. Also a
benchmark was added