本文整理汇总了C#中byps.BInput类的典型用法代码示例。如果您正苦于以下问题:C# BInput类的具体用法?C# BInput怎么用?C# BInput使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BInput类属于byps命名空间,在下文中一共展示了BInput类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}