本文整理汇总了C#中byps.BInput类的典型用法代码示例。如果您正苦于以下问题:C# BInput类的具体用法?C# BInput怎么用?C# BInput使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BInput类属于byps命名空间,在下文中一共展示了BInput类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
ArrayTypes4dim obj = (ArrayTypes4dim)(obj1 != null ? obj1 : bin.onObjectCreated(new ArrayTypes4dim()));
BBufferBin bbuf = bin.bbuf;
// checkpoint byps.gen.cs.PrintContext:449
obj.Boolean4 = (bool[,,,])bin.readObj(false, byps.test.api.BSerializer_945713488.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Byte4 = (byte[,,,])bin.readObj(false, byps.test.api.BSerializer_1201775504.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Char4 = (char[,,,])bin.readObj(false, byps.test.api.BSerializer_769021986.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Double4 = (double[,,,])bin.readObj(false, byps.test.api.BSerializer_2087445849.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Float4 = (float[,,,])bin.readObj(false, byps.test.api.BSerializer_1516687588.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Int4 = (int[,,,])bin.readObj(false, byps.test.api.BSerializer_39910537.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Long4 = (long[,,,])bin.readObj(false, byps.test.api.BSerializer_846419204.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.PrimitiveTypes4 = (byps.test.api.prim.PrimitiveTypes[,,,])bin.readObj(false, byps.test.api.BSerializer_758319514.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Short4 = (short[,,,])bin.readObj(false, byps.test.api.BSerializer_1859644668.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.String4 = (String[,,,])bin.readObj(false, byps.test.api.BSerializer_588723219.instance);
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:29,代码来源:BSerializer_2004.cs
示例2: read
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
byps.test.api.inl.Point2D[,,,] arr = new byps.test.api.inl.Point2D[n3,n2,n1,n0];
// 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] = (byps.test.api.inl.Point2D)bin.readObj(false, byps.test.api.inl.BSerializer_1835035436.instance);
}
}
}
}
return arr;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:26,代码来源:BSerializer_949340697.cs
示例3: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
ArrayTypes1dim obj = (ArrayTypes1dim)(obj1 != null ? obj1 : bin.onObjectCreated(new ArrayTypes1dim()));
BBufferBin bbuf = bin.bbuf;
// checkpoint byps.gen.cs.PrintContext:449
obj.Boolean1 = (bool[])bin.readObj(false, byps.test.api.BSerializer_2058423690.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Byte1 = (byte[])bin.readObj(false, byps.test.api.BSerializer_1374008726.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Char1 = (char[])bin.readObj(false, byps.test.api.BSerializer_1361632968.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Date1 = (DateTime[])bin.readObj(false, byps.test.api.BSerializer_1406664368.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Double1 = (double[])bin.readObj(false, byps.test.api.BSerializer_1359468275.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Float1 = (float[])bin.readObj(false, byps.test.api.BSerializer_766441794.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Int1 = (int[])bin.readObj(false, byps.test.api.BSerializer_100361105.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Long1 = (long[])bin.readObj(false, byps.test.api.BSerializer_1097129250.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.PrimitiveTypes1 = (byps.test.api.prim.PrimitiveTypes[])bin.readObj(false, byps.test.api.BSerializer_2053507648.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.Short1 = (short[])bin.readObj(false, byps.test.api.BSerializer_2067161310.instance);
// checkpoint byps.gen.cs.PrintContext:449
obj.String1 = (String[])bin.readObj(false, byps.test.api.BSerializer_1888107655.instance);
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:31,代码来源:BSerializer_2001.cs
示例4: read
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
byps.test.api.prim.PrimitiveTypes[,,,] arr = new byps.test.api.prim.PrimitiveTypes[n3,n2,n1,n0];
// 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] = (byps.test.api.prim.PrimitiveTypes)bin.readObj(false, null);
}
}
}
}
return arr;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:26,代码来源:BSerializer_758319514.cs
示例5: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
BRequest_RemotePrimitiveTypes_sendAllTypes obj = (BRequest_RemotePrimitiveTypes_sendAllTypes)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemotePrimitiveTypes_sendAllTypes()));
BBufferBin bbuf = bin.bbuf;
// checkpoint byps.gen.cs.PrintContext:449
obj.bValue = bbuf.getBoolean();
// checkpoint byps.gen.cs.PrintContext:449
obj.cValue = bbuf.getChar();
// checkpoint byps.gen.cs.PrintContext:449
obj.dValue = bbuf.getDouble();
// checkpoint byps.gen.cs.PrintContext:449
obj.fValue = bbuf.getFloat();
// checkpoint byps.gen.cs.PrintContext:449
obj.iValue = bbuf.getInt();
// checkpoint byps.gen.cs.PrintContext:449
obj.lValue = bbuf.getLong();
// checkpoint byps.gen.cs.PrintContext:449
obj.sValue = bbuf.getShort();
// checkpoint byps.gen.cs.PrintContext:449
obj.strValue = bbuf.getString();
// checkpoint byps.gen.cs.PrintContext:449
obj.oValue = (Object)bin.readObj(false, null);
// checkpoint byps.gen.cs.PrintContext:449
obj.ptValue = (byps.test.api.prim.PrimitiveTypes)bin.readObj(false, null);
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:29,代码来源:BSerializer_677876863.cs
示例6: read
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
double[,,,] arr = new double[n3,n2,n1,n0];
// 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.getDouble();
}
}
}
}
return arr;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:26,代码来源:BSerializer_2087445849.cs
示例7: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
PrimitiveTypes obj = (PrimitiveTypes)(obj1 != null ? obj1 : bin.onObjectCreated(new PrimitiveTypes()));
BBufferBin bbuf = bin.bbuf;
// checkpoint byps.gen.cs.PrintContext:449
obj.BoolVal = bbuf.getBoolean();
// checkpoint byps.gen.cs.PrintContext:449
obj.ByteVal = bbuf.getByte();
// checkpoint byps.gen.cs.PrintContext:449
obj.CharVal = bbuf.getChar();
// checkpoint byps.gen.cs.PrintContext:449
obj.DateVal = bbuf.getDate();
// checkpoint byps.gen.cs.PrintContext:449
obj.DoubleVal = bbuf.getDouble();
// checkpoint byps.gen.cs.PrintContext:449
obj.FloatVal = bbuf.getFloat();
// checkpoint byps.gen.cs.PrintContext:449
obj.IntVal = bbuf.getInt();
// checkpoint byps.gen.cs.PrintContext:449
obj.LongVal = bbuf.getLong();
// checkpoint byps.gen.cs.PrintContext:449
obj.ShortVal = bbuf.getShort();
// checkpoint byps.gen.cs.PrintContext:449
obj.StringVal = bbuf.getString();
// checkpoint byps.gen.cs.PrintContext:449
obj.Value = bbuf.getBoolean();
// checkpoint byps.gen.cs.PrintContext:449
obj.ObjVal = (Object)bin.readObj(false, null);
// checkpoint byps.gen.cs.PrintContext:449
obj.ObjVal2 = (Object)bin.readObj(false, null);
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:35,代码来源:BSerializer_1000.cs
示例8: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = ((BInputBin)bin1);
long v = bin.bbuf.getLong();
BValueClass obj = (BValueClass)(obj1 != null ? obj1 : bin.onObjectCreated(new BValueClass()));
obj.changedMembers = v;
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:8,代码来源:BSerializer_22.cs
示例9: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
BRequest_RemoteArrayTypes1dim_getInt obj = (BRequest_RemoteArrayTypes1dim_getInt)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteArrayTypes1dim_getInt()));
BBufferBin bbuf = bin.bbuf;
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:9,代码来源:BSerializer_1874061867.cs
示例10: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
BResult_19 obj = (BResult_19)(obj1 != null ? obj1 : bin.onObjectCreated(new BResult_19()));
BBufferBin bbuf = bin.bbuf;
// void result
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:9,代码来源:BSerializer_534004412.cs
示例11: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
BRequest_ServerIF_getClientIds obj = (BRequest_ServerIF_getClientIds)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_ServerIF_getClientIds()));
BBufferBin bbuf = bin.bbuf;
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:9,代码来源:BSerializer_2007476251.cs
示例12: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
FileSystemServiceC obj = (FileSystemServiceC)(obj1 != null ? obj1 : bin.onObjectCreated(new FileSystemServiceC()));
BBufferBin bbuf = bin.bbuf;
return obj;
}
开发者ID:onlyfly34,项目名称:jsfs,代码行数:9,代码来源:BSerializer_1381128722.cs
示例13: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
BRequest_RemoteListTypes_getShort1 obj = (BRequest_RemoteListTypes_getShort1)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteListTypes_getShort1()));
BBufferBin bbuf = bin.bbuf;
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:9,代码来源:BSerializer_2140896613.cs
示例14: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
BRequest_RemoteInlineInstance_getPoint2DListList obj = (BRequest_RemoteInlineInstance_getPoint2DListList)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteInlineInstance_getPoint2DListList()));
BBufferBin bbuf = bin.bbuf;
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:9,代码来源:BSerializer_1650554387.cs
示例15: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
BRequest_EvolveIF_getEvolve obj = (BRequest_EvolveIF_getEvolve)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_EvolveIF_getEvolve()));
BBufferBin bbuf = bin.bbuf;
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:9,代码来源:BSerializer_1279300441.cs
示例16: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
BRequest_BioLemonService_useParing obj = (BRequest_BioLemonService_useParing)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_BioLemonService_useParing()));
BBufferBin bbuf = bin.bbuf;
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:9,代码来源:BSerializer_2108700976.cs
示例17: read
public override Object read(Object obj, BInput bin1, long version)
{
BInputBin bin = ((BInputBin)bin1);
int code = bin.bbuf.getInt();
String msg = bin.bbuf.getString();
String details = bin.bbuf.getString();
BException e = new BException(code, msg, details);
return e;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:9,代码来源:BSerializer_20.cs
示例18: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
BRequest_FruitService_squeeze obj = (BRequest_FruitService_squeeze)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_FruitService_squeeze()));
BBufferBin bbuf = bin.bbuf;
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:9,代码来源:BSerializer_1290167289.cs
示例19: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
BRequest_RemoteStreams_getImages obj = (BRequest_RemoteStreams_getImages)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteStreams_getImages()));
BBufferBin bbuf = bin.bbuf;
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:9,代码来源:BSerializer_1911998634.cs
示例20: read
public override Object read(Object obj1, BInput bin1, long version)
{
BInputBin bin = (BInputBin)bin1;
BRequest_RemoteReferences_getNode obj = (BRequest_RemoteReferences_getNode)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteReferences_getNode()));
BBufferBin bbuf = bin.bbuf;
return obj;
}
开发者ID:marcarvalho,项目名称:byps,代码行数:9,代码来源:BSerializer_1366991859.cs
注:本文中的byps.BInput类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论