class for reading structs form byte stream - StructStream