Use uint8_t data types in storage API.
Changed APIs of encoders and decoders to also use uint8_t
Merged with master