Esempio n. 1
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = (BInputBin)bin1;
            BBufferBin bbuf = bin.bbuf;

            // lengths
            int n2 = bbuf.getLength();
            int n1 = bbuf.getLength();
            int n0 = bbuf.getLength();

            // create array
            byps.test.api.inl.Point2D[,,] arr = new byps.test.api.inl.Point2D[n2, n1, n0];
            bin.onObjectCreated(arr);

            // read
            for (int i2 = 0; i2 < n2; i2++)
            {
                for (int i1 = 0; i1 < n1; i1++)
                {
                    for (int i0 = 0; i0 < n0; i0++)
                    {
                        arr[i2, i1, i0] = (byps.test.api.inl.Point2D)bin.readObj(false, byps.test.api.inl.BSerializer_1835035436.instance);
                    }
                }
            }

            return(arr);
        }
Esempio n. 2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = (BInputBin)bin1;
            BBufferBin bbuf = bin.bbuf;

            // lengths
            int n3 = bbuf.getLength();
            int n2 = bbuf.getLength();
            int n1 = bbuf.getLength();
            int n0 = bbuf.getLength();

            // create array
            byte[,,,] arr = new byte[n3, n2, n1, n0];
            bin.onObjectCreated(arr);

            // read
            for (int i3 = 0; i3 < n3; i3++)
            {
                for (int i2 = 0; i2 < n2; i2++)
                {
                    for (int i1 = 0; i1 < n1; i1++)
                    {
                        for (int i0 = 0; i0 < n0; i0++)
                        {
                            arr[i3, i2, i1, i0] = bbuf.getByte();
                        }
                    }
                }
            }

            return(arr);
        }
Esempio n. 3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = (BInputBin)bin1;
            BBufferBin bbuf = bin.bbuf;

            // lengths
            int n2 = bbuf.getLength();
            int n1 = bbuf.getLength();
            int n0 = bbuf.getLength();

            // create array
            byps.test.api.prim.PrimitiveTypes[,,] arr = new byps.test.api.prim.PrimitiveTypes[n2, n1, n0];
            bin.onObjectCreated(arr);

            // read
            for (int i2 = 0; i2 < n2; i2++)
            {
                for (int i1 = 0; i1 < n1; i1++)
                {
                    for (int i0 = 0; i0 < n0; i0++)
                    {
                        arr[i2, i1, i0] = (byps.test.api.prim.PrimitiveTypes)bin.readObj(false, null);
                    }
                }
            }

            return(arr);
        }
Esempio n. 4
0
		public override Object read(object obj1, BInput bin1, long version) {
			BInputBin bin = ((BInputBin)bin1);
			BBufferBin bbuf = bin.bbuf;
			int n = bbuf.getLength();
			List<bool> arr = new List<bool>(n);
			bin.onObjectCreated(arr);
			for (int i = 0; i < n; i++) {
				bool obj = bbuf.getBoolean();
				arr.Add(obj);
			}
			return arr;
		}
		public override Object read(object obj1, BInput bin1, long version) {
			BInputBin bin = ((BInputBin)bin1);
			BBufferBin bbuf = bin.bbuf;
			int n = bbuf.getLength();
			List<IDictionary<String,String>> arr = new List<IDictionary<String,String>>(n);
			bin.onObjectCreated(arr);
			for (int i = 0; i < n; i++) {
				IDictionary<String,String> obj = (IDictionary<String,String>)bin.readObj(false, null);
				arr.Add(obj);
			}
			return arr;
		}
Esempio n. 6
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            int        n    = bbuf.getLength();
            List <IList <byps.test.api.inl.Point2D> > arr = new List <IList <byps.test.api.inl.Point2D> >(n);

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                IList <byps.test.api.inl.Point2D> obj = (IList <byps.test.api.inl.Point2D>)bin.readObj(false, null);
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 7
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = (BInputBin)bin1;
            BBufferBin bbuf = bin.bbuf;

            // lengths
            int n1 = bbuf.getLength();
            int n0 = bbuf.getLength();

            // create array
            int[,] arr = new int[n1, n0];
            bin.onObjectCreated(arr);

            // read
            for (int i1 = 0; i1 < n1; i1++)
            {
                for (int i0 = 0; i0 < n0; i0++)
                {
                    arr[i1, i0] = bbuf.getInt();
                }
            }

            return(arr);
        }
Esempio n. 8
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = (BInputBin)bin1;
            BBufferBin bbuf = bin.bbuf;

            // lengths
            int n1 = bbuf.getLength();
            int n0 = bbuf.getLength();

            // create array
            byps.test.api.cons.AllTypesZ[,] arr = new byps.test.api.cons.AllTypesZ[n1, n0];
            bin.onObjectCreated(arr);

            // read
            for (int i1 = 0; i1 < n1; i1++)
            {
                for (int i0 = 0; i0 < n0; i0++)
                {
                    arr[i1, i0] = (byps.test.api.cons.AllTypesZ)bin.readObj(false, null);
                }
            }

            return(arr);
        }
Esempio n. 9
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            int        n    = bbuf.getLength();
            List <byps.test.api.prim.PrimitiveTypes> arr = new List <byps.test.api.prim.PrimitiveTypes>(n);

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                byps.test.api.prim.PrimitiveTypes obj = (byps.test.api.prim.PrimitiveTypes)bin.readObj(false, null);
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 10
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            int        n    = bbuf.getLength();
            List <byps.test.api.enu.EnumPlanets> arr = new List <byps.test.api.enu.EnumPlanets>(n);

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                byps.test.api.enu.EnumPlanets obj = (byps.test.api.enu.EnumPlanets)bbuf.getInt();
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 11
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin        bin  = ((BInputBin)bin1);
            BBufferBin       bbuf = bin.bbuf;
            int              n    = bbuf.getLength();
            HashSet <byte[]> arr  = new HashSet <byte[]>();

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                byte[] obj = (byte[])bin.readObj(false, byps.test.api.BSerializer_1374008726.instance);
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 12
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            int        n    = bbuf.getLength();
            List <com.wilutions.jsfs.FileInfo> arr = new List <com.wilutions.jsfs.FileInfo>(n);

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                com.wilutions.jsfs.FileInfo obj = (com.wilutions.jsfs.FileInfo)bin.readObj(false, null);
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 13
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin          bin  = ((BInputBin)bin1);
            BBufferBin         bbuf = bin.bbuf;
            int                n    = bbuf.getLength();
            List <int[, , , ]> arr  = new List <int[, , , ]>(n);

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                int[,,,] obj = (int[, , , ])bin.readObj(false, byps.test.api.BSerializer_39910537.instance);
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 14
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            int        n    = bbuf.getLength();
            HashSet <byps.test.api.inherit.Class1> arr = new HashSet <byps.test.api.inherit.Class1>();

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                byps.test.api.inherit.Class1 obj = (byps.test.api.inherit.Class1)bin.readObj(false, null);
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 15
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            int        n    = bbuf.getLength();
            List <EloixClient.IndexServer.SubsInfo> arr = new List <EloixClient.IndexServer.SubsInfo>(n);

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                EloixClient.IndexServer.SubsInfo obj = (EloixClient.IndexServer.SubsInfo)bin.readObj(false, null);
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 16
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            int        n    = bbuf.getLength();
            List <EloixClient.IndexServer.feed.EActionType> arr = new List <EloixClient.IndexServer.feed.EActionType>(n);

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                EloixClient.IndexServer.feed.EActionType obj = (EloixClient.IndexServer.feed.EActionType)bbuf.getInt();
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 17
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin       bin  = ((BInputBin)bin1);
            BBufferBin      bbuf = bin.bbuf;
            int             n    = bbuf.getLength();
            HashSet <short> arr  = new HashSet <short>();

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                short obj = bbuf.getShort();
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 18
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin              = ((BInputBin)bin1);
            BBufferBin bbuf             = bin.bbuf;
            int        n                = bbuf.getLength();
            List <System.IO.Stream> arr = new List <System.IO.Stream>(n);

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                System.IO.Stream obj = (System.IO.Stream)bin.readObj(false, null);
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 19
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            int        n    = bbuf.getLength();
            List <byps.test.api.inl.Point2D> arr = new List <byps.test.api.inl.Point2D>(n);

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                byps.test.api.inl.Point2D obj = (byps.test.api.inl.Point2D)bin.readObj(false, byps.test.api.inl.BSerializer_1835035436.instance);
                arr.Add(obj);
            }
            return(arr);
        }
Esempio n. 20
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = (BInputBin)bin1;
            BBufferBin bbuf = bin.bbuf;

            // lengths
            int n0 = bbuf.getLength();

            // create array
            byte[] arr = new byte[n0];

            // read
            bbuf.getArrayByte(arr);

            return(arr);
        }
Esempio n. 21
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            Dictionary <String, DateTime> map = new Dictionary <String, DateTime>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                String   key   = bbuf.getString();
                DateTime value = bbuf.getDate();
                map[key] = value;
            }
            return(map);
        }
Esempio n. 22
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin             bin  = ((BInputBin)bin1);
            BBufferBin            bbuf = bin.bbuf;
            Dictionary <int, int> map  = new Dictionary <int, int>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                int key   = bbuf.getInt();
                int value = bbuf.getInt();
                map[key] = value;
            }
            return(map);
        }
Esempio n. 23
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            Dictionary <String, EloixClient.IndexServer.Subscription> map = new Dictionary <String, EloixClient.IndexServer.Subscription>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                String key = bbuf.getString();
                EloixClient.IndexServer.Subscription value = (EloixClient.IndexServer.Subscription)bin.readObj(false, null);
                map[key] = value;
            }
            return(map);
        }
Esempio n. 24
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin              = ((BInputBin)bin1);
            BBufferBin bbuf             = bin.bbuf;
            Dictionary <int, int[]> map = new Dictionary <int, int[]>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                int   key   = bbuf.getInt();
                int[] value = (int[])bin.readObj(false, byps.test.api.BSerializer_100361105.instance);
                map[key] = value;
            }
            return(map);
        }
Esempio n. 25
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            Dictionary <int, byps.test.api.prim.PrimitiveTypes> map = new Dictionary <int, byps.test.api.prim.PrimitiveTypes>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                int key = bbuf.getInt();
                byps.test.api.prim.PrimitiveTypes value = (byps.test.api.prim.PrimitiveTypes)bin.readObj(false, null);
                map[key] = value;
            }
            return(map);
        }
Esempio n. 26
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            Dictionary <byte, double> map = new Dictionary <byte, double>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                byte   key   = bbuf.getByte();
                double value = bbuf.getDouble();
                map[key] = value;
            }
            return(map);
        }
Esempio n. 27
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            Dictionary <String, byps.test.api.enu.EnumPlanets> map = new Dictionary <String, byps.test.api.enu.EnumPlanets>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                String key = bbuf.getString();
                byps.test.api.enu.EnumPlanets value = (byps.test.api.enu.EnumPlanets)bbuf.getInt();
                map[key] = value;
            }
            return(map);
        }
Esempio n. 28
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            Dictionary <String, byps.test.api.inherit.Class1> map = new Dictionary <String, byps.test.api.inherit.Class1>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                String key = bbuf.getString();
                byps.test.api.inherit.Class1 value = (byps.test.api.inherit.Class1)bin.readObj(false, null);
                map[key] = value;
            }
            return(map);
        }
Esempio n. 29
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            Dictionary <int, EloixClient.IndexServer.UserInfo> map = new Dictionary <int, EloixClient.IndexServer.UserInfo>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                int key = bbuf.getInt();
                EloixClient.IndexServer.UserInfo value = (EloixClient.IndexServer.UserInfo)bin.readObj(false, null);
                map[key] = value;
            }
            return(map);
        }
Esempio n. 30
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            Dictionary <int, System.IO.Stream> map = new Dictionary <int, System.IO.Stream>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                int key = bbuf.getInt();
                System.IO.Stream value = (System.IO.Stream)bin.readObj(false, null);
                map[key] = value;
            }
            return(map);
        }