bin serializer generates .h file