当前位置: 首页>>代码示例>>C#>>正文


C# byps.BOutput类代码示例

本文整理汇总了C#中byps.BOutput的典型用法代码示例。如果您正苦于以下问题:C# BOutput类的具体用法?C# BOutput怎么用?C# BOutput使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


BOutput类属于byps命名空间,在下文中一共展示了BOutput类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: write

		public override void write(Object obj1, BOutput bout1, long version)
		{
			BRequest_RemotePrimitiveTypes_sendAllTypes obj = (BRequest_RemotePrimitiveTypes_sendAllTypes)obj1;			
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putBoolean(obj.bValue);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putChar(obj.cValue);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putDouble(obj.dValue);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putFloat(obj.fValue);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putInt(obj.iValue);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putLong(obj.lValue);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putShort(obj.sValue);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putString(obj.strValue);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.oValue, false, null);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.ptValue, false, null);
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:26,代码来源:BSerializer_677876863.cs

示例2: write

		public override void write(Object obj1, BOutput bout1, long version)
		{
			SetTypes obj = (SetTypes)obj1;			
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Boolean1, false, byps.test.api.BSerializer_1365696060.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Byte1, false, byps.test.api.BSerializer_31512998.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Byte2, false, byps.test.api.BSerializer_2052431866.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Char1, false, byps.test.api.BSerializer_936607009.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Date1, false, byps.test.api.BSerializer_1097919350.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Double1, false, byps.test.api.BSerializer_1320560671.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Float1, false, byps.test.api.BSerializer_1898022288.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Int1, false, byps.test.api.BSerializer_1493282670.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Int2, false, byps.test.api.BSerializer_1406124761.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Long1, false, byps.test.api.BSerializer_1457164460.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Obj1, false, byps.BSerializer_14.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.PrimitiveTypes1, false, byps.test.api.BSerializer_673917574.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Short1, false, byps.test.api.BSerializer_2028443792.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.String1, false, byps.test.api.BSerializer_1888799711.instance);
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:34,代码来源:BSerializer_5001.cs

示例3: write

		public override void write(Object obj1, BOutput bout1, long version)
		{
			PrimitiveTypes obj = (PrimitiveTypes)obj1;			
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putBoolean(obj.BoolVal);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putByte(obj.ByteVal);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putChar(obj.CharVal);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putDate(obj.DateVal);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putDouble(obj.DoubleVal);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putFloat(obj.FloatVal);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putInt(obj.IntVal);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putLong(obj.LongVal);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putShort(obj.ShortVal);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putString(obj.StringVal);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putBoolean(obj.Value);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.ObjVal, false, null);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.ObjVal2, false, null);
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:32,代码来源:BSerializer_1000.cs

示例4: write

		public override void write(Object obj1, BOutput bout1, long version)
		{
			MapTypes obj = (MapTypes)obj1;			
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Boolean1, false, byps.test.api.BSerializer_1279823631.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Byte1, false, byps.test.api.BSerializer_1972793385.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Byte2, false, byps.test.api.BSerializer_1799280818.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Char1, false, byps.test.api.BSerializer_8789515.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Date1, false, byps.test.api.BSerializer_1366799209.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Double1, false, byps.test.api.BSerializer_1487265161.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Float1, false, byps.test.api.BSerializer_94341197.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Int1, false, byps.test.api.BSerializer_1347703734.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Int2, false, byps.test.api.BSerializer_1633750383.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Long1, false, byps.test.api.BSerializer_1973996106.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Obj1, false, byps.test.api.BSerializer_1488550492.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.PrimitiveTypes1, false, byps.test.api.BSerializer_1831201218.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Short1, false, byps.test.api.BSerializer_601099730.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.String1, false, byps.test.api.BSerializer_1710660846.instance);
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:34,代码来源:BSerializer_4001.cs

示例5: write

		public override void write(Object obj1, BOutput bout1, long version) {
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			
			byps.test.api.inl.Point2D[,,,] arr = (byps.test.api.inl.Point2D[,,,])obj1;
			
			// lengths
			int n3 = arr.GetLength(0);
			int n2 = arr.GetLength(1);
			int n1 = arr.GetLength(2);
			int n0 = arr.GetLength(3);
			bbuf.putLength(n3);
			bbuf.putLength(n2);
			bbuf.putLength(n1);
			bbuf.putLength(n0);
			
			// write
			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++) {
							bout.writeObj(arr[i3,i2,i1,i0], false, byps.test.api.inl.BSerializer_1835035436.instance);
						}
					}
				}
			}
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:27,代码来源:BSerializer_949340697.cs

示例6: write

		public override void write(Object obj1, BOutput bout1, long version)
		{
			ArrayTypes4dim obj = (ArrayTypes4dim)obj1;			
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Boolean4, false, byps.test.api.BSerializer_945713488.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Byte4, false, byps.test.api.BSerializer_1201775504.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Char4, false, byps.test.api.BSerializer_769021986.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Double4, false, byps.test.api.BSerializer_2087445849.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Float4, false, byps.test.api.BSerializer_1516687588.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Int4, false, byps.test.api.BSerializer_39910537.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Long4, false, byps.test.api.BSerializer_846419204.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.PrimitiveTypes4, false, byps.test.api.BSerializer_758319514.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Short4, false, byps.test.api.BSerializer_1859644668.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.String4, true, byps.test.api.BSerializer_588723219.instance);
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:26,代码来源:BSerializer_2004.cs

示例7: write

		public override void write(Object obj1, BOutput bout1, long version)
		{
			AllTypesZ obj = (AllTypesZ)obj1;			
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putBoolean(obj.Bool1);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putByte(obj.Byte1);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putChar(obj.Char1);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putDouble(obj.Double1);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putFloat(obj.Float1);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putInt(obj.Int1);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putLong(obj.Long1);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putShort(obj.Short1);
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putString(obj.String1);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Byte2, false, byps.test.api.BSerializer_1374008726.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Hebrew1, false, null);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Hebrew2, false, byps.test.api.BSerializer_92445340.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Int2, false, byps.test.api.BSerializer_100361105.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.String2, true, byps.test.api.BSerializer_1888107655.instance);
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:34,代码来源:BSerializer_142458.cs

示例8: write

        public override void write(Object obj, BOutput bout1, long version)
        {
		    BOutputBin bout = ((BOutputBin)bout1);
		    BRemote remote = (BRemote)obj;
		    BTargetId targetId = remote.BRemote_getTargetId();
		    targetId.write(bout.bbuf.getBuffer(), bout1.header.bversion);
	    }
开发者ID:marcarvalho,项目名称:byps,代码行数:7,代码来源:BSerializer_16.cs

示例9: write

		public override void write(Object obj1, BOutput bout1, long version) {
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			
			byps.test.api.prim.PrimitiveTypes[,,,] arr = (byps.test.api.prim.PrimitiveTypes[,,,])obj1;
			
			// lengths
			int n3 = arr.GetLength(0);
			int n2 = arr.GetLength(1);
			int n1 = arr.GetLength(2);
			int n0 = arr.GetLength(3);
			bbuf.putLength(n3);
			bbuf.putLength(n2);
			bbuf.putLength(n1);
			bbuf.putLength(n0);
			
			// write
			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++) {
							bout.writeObj(arr[i3,i2,i1,i0], false, null);
						}
					}
				}
			}
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:27,代码来源:BSerializer_758319514.cs

示例10: write

		public override void write(Object obj1, BOutput bout1, long version) {
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			
			double[,,,] arr = (double[,,,])obj1;
			
			// lengths
			int n3 = arr.GetLength(0);
			int n2 = arr.GetLength(1);
			int n1 = arr.GetLength(2);
			int n0 = arr.GetLength(3);
			bbuf.putLength(n3);
			bbuf.putLength(n2);
			bbuf.putLength(n1);
			bbuf.putLength(n0);
			
			// write
			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++) {
							bbuf.putDouble(arr[i3,i2,i1,i0]);
						}
					}
				}
			}
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:27,代码来源:BSerializer_2087445849.cs

示例11: write

		public override void write(Object obj1, BOutput bout1, long version)
		{
			ArrayTypes1dim obj = (ArrayTypes1dim)obj1;			
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Boolean1, false, byps.test.api.BSerializer_2058423690.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Byte1, false, byps.test.api.BSerializer_1374008726.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Char1, false, byps.test.api.BSerializer_1361632968.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Date1, false, byps.test.api.BSerializer_1406664368.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Double1, false, byps.test.api.BSerializer_1359468275.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Float1, false, byps.test.api.BSerializer_766441794.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Int1, false, byps.test.api.BSerializer_100361105.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Long1, false, byps.test.api.BSerializer_1097129250.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.PrimitiveTypes1, false, byps.test.api.BSerializer_2053507648.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.Short1, false, byps.test.api.BSerializer_2067161310.instance);
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.String1, true, byps.test.api.BSerializer_1888107655.instance);
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:28,代码来源:BSerializer_2001.cs

示例12: write

		public override void write(Object obj1, BOutput bout1, long version)
		{
			BRequest_EvolveIF_setClient obj = (BRequest_EvolveIF_setClient)obj1;			
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.partnerValue, false, null);
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:8,代码来源:BSerializer_998004147.cs

示例13: write

		public override void write(Object obj1, BOutput bout1, long version)
		{
			BRequest_FileSystemNotify_notify obj = (BRequest_FileSystemNotify_notify)obj1;			
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.notifyInfoValue, false, null);
		}
开发者ID:onlyfly34,项目名称:jsfs,代码行数:8,代码来源:BSerializer_481066845.cs

示例14: write

		public override void write(Object obj1, BOutput bout1, long version)
		{
			SessionInfo obj = (SessionInfo)obj1;			
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			// checkpoint byps.gen.cs.PrintContext:494
			bbuf.putString(obj.SessionID);
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:8,代码来源:BSerializer_65775978.cs

示例15: write

		public override void write(Object obj1, BOutput bout1, long version)
		{
			BResult_955752991 obj = (BResult_955752991)obj1;			
			BOutputBin bout = (BOutputBin)bout1;
			BBufferBin bbuf = bout.bbuf;
			// checkpoint byps.gen.cs.PrintContext:494
			bout.writeObj(obj.resultValue, false, null);
		}
开发者ID:marcarvalho,项目名称:byps,代码行数:8,代码来源:BSerializer_695494982.cs


注:本文中的byps.BOutput类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。