コード例 #1
0
        private static byte[] EncodeAdditionalInfo(int creator, int type)
        {
            byte[] array = new byte[49];
            int    num   = 0;

            MimeAppleTranscoder.EncodeAdditionalInfoInt(creator, array, ref num);
            MimeAppleTranscoder.EncodeAdditionalInfoInt(type, array, ref num);
            array[num] = 0;
            num++;
            byte[] array2 = new byte[num];
            Array.Copy(array, array2, num);
            return(array2);
        }