Doc for module Cstruct

Documented all non-trivial functions in Cstruct.