コード例 #1
0
 //UPGRADE_TODO: Class 'java.io.DataInputStream' was converted to 'System.IO.BinaryReader' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'"
 public override void  readExternal(System.IO.BinaryReader in_Renamed, PrototypeFactory pf)
 {
     if ((sbyte)in_Renamed.ReadByte() == (sbyte)0x00)
     {
         d = ExtUtil.readNumeric(in_Renamed);
     }
     else
     {
         d = ExtUtil.readDecimal(in_Renamed);
     }
 }
コード例 #2
0
ファイル: GeoShapeData.cs プロジェクト: amasasi/DotNetRosa
        //UPGRADE_TODO: Class 'java.io.DataInputStream' was converted to 'System.IO.BinaryReader' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'"
        public virtual void  readExternal(System.IO.BinaryReader in_Renamed, PrototypeFactory pf)
        {
            points.clear();
            int len = (int)ExtUtil.readNumeric(in_Renamed);

            for (int i = 0; i < len; ++i)
            {
                GeoPointData t = new GeoPointData();
                t.readExternal(in_Renamed, pf);
                points.add(t);
            }
        }
コード例 #3
0
ファイル: GeoPointData.cs プロジェクト: amasasi/DotNetRosa
 //UPGRADE_TODO: Class 'java.io.DataInputStream' was converted to 'System.IO.BinaryReader' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'"
 public virtual void  readExternal(System.IO.BinaryReader in_Renamed, PrototypeFactory pf)
 {
     len = (int)ExtUtil.readNumeric(in_Renamed);
     for (int i = 0; i < len; i++)
     {
         gp[i] = ExtUtil.readDecimal(in_Renamed);
     }
     // make sure that any old data is removed...
     for (int i = len; i < gp.Length; ++i)
     {
         this.gp[i] = MISSING_VALUE;
     }
 }
コード例 #4
0
ファイル: LongData.cs プロジェクト: amasasi/DotNetRosa
 //UPGRADE_TODO: Class 'java.io.DataInputStream' was converted to 'System.IO.BinaryReader' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'"
 public virtual void  readExternal(System.IO.BinaryReader in_Renamed, PrototypeFactory pf)
 {
     n = ExtUtil.readNumeric(in_Renamed);
 }