Beispiel #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 static long readNumeric(System.IO.BinaryReader in_Renamed, ExtWrapIntEncoding encoding)
 {
     try
     {
         return((long)((System.Int64)read(in_Renamed, encoding)));
     }
     catch (DeserializationException de)
     {
         throw new System.SystemException("Shouldn't happen: Base-type encoding wrappers should never touch prototypes");
     }
 }
Beispiel #2
0
 //UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'"
 public static void  writeNumeric(System.IO.BinaryWriter out_Renamed, long val, ExtWrapIntEncoding encoding)
 {
     write(out_Renamed, encoding.clone((System.Object)val));
 }