Exemplo n.º 1
0
        // 6 List of PayLoad
        public void AddListPayLoad(List <NewPayLoad> elements)
        {
            CheckBuffer(5);
            WriteValueType(ListPayLoadType);
            //TODO: replace to WriteLen
            WriteInt(elements.Count);

            foreach (NewPayLoad PL in elements)
            {
                WriteBytes(PL.GetPackage());
            }
        }