Пример #1
0
        override public bool EinaBinbufOutOwn(out Eina.Binbuf binbuf)
        {
            binbuf_out_own_flag = true;

            binbuf = new Eina.Binbuf();
            binbuf.Append(33);

            binbuf_out_own_binbuf = binbuf;

            return(true);
        }
Пример #2
0
        override public Eina.Binbuf EinaBinbufReturnOwn()
        {
            binbuf_return_own_flag = true;

            var binbuf = new Eina.Binbuf();

            binbuf.Append(33);

            binbuf_return_own_binbuf = binbuf;

            return(binbuf);
        }
Пример #3
0
        override public bool EinaBinbufInOwn(Eina.Binbuf binbuf)
        {
            binbuf_in_own_flag = true;

            bool r = binbuf.GetBytes().SequenceEqual(BaseSequence.Values());

            r = r && binbuf.Own;

            binbuf.Insert(42, 0);
            binbuf.Insert(43, 0);
            binbuf.Append(33);

            binbuf_in_own_binbuf = binbuf;

            return(r);
        }