public static POIPresentation LoadPresFromContentServer(int contentId)
        {
            POIPresentation pres = new POIPresentation();
            int offset = 0;

            byte[] content = POIContentServerHelper.getPresInfo(contentId);

            if (content != null)
            {
                pres.deserialize(content, ref offset);
            }
            else
            {
                Console.WriteLine("Cannot get archive from content server!");
            }

            return pres;
        }
Exemplo n.º 2
0
 private void parsePresContentMsg(byte[] buffer, int offset)
 {
     POIPresentation presentation = new POIPresentation();
     presentation.deserialize(buffer, ref offset);
 }