private static uint Write_CWavs(Stream s, Theme theme) { var pos = s.Position; s.Write(theme.CWAV, 0, theme.CWAV.Length); return (uint) pos; }