?? integer4.cs
字號:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: Integer4.java
using System;
namespace com.sms.sgip.data
{
// Referenced classes of package com.sms.sgip.data:
// SgipException
public class Integer4
{
virtual public int MaxLength
{
set
{
if (value != 4)
throw new SgipException("Invalid max length specified for Integer4.");
else
return ;
}
}
virtual public int Value
{
set
{
m_i = value;
}
}
internal int m_i;
public Integer4()
{
m_i = 0;
}
public Integer4(int i)
{
m_i = i;
}
public virtual int length()
{
return 4;
}
public virtual int maxLength()
{
return 4;
}
//UPGRADE_TODO: Class“java.io.DataInputStream”被轉(zhuǎn)換為具有不同行為的 'System.IO.BinaryReader'。 "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'"
public virtual int read(System.IO.BinaryReader is_Renamed)
{
return read(is_Renamed, 0x7fffffff);
}
//UPGRADE_TODO: Class“java.io.DataInputStream”被轉(zhuǎn)換為具有不同行為的 'System.IO.BinaryReader'。 "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'"
public virtual int read(System.IO.BinaryReader is_Renamed, int iLeft)
{
if (iLeft < 4)
{
throw new SgipException("Not enought bytes in stream to read.");
}
else
{
m_i = is_Renamed.ReadInt32();
return 4;
}
}
//UPGRADE_TODO: Class“java.io.DataOutputStream”被轉(zhuǎn)換為具有不同行為的 'System.IO.BinaryWriter'。 "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'"
public virtual int write(System.IO.BinaryWriter os)
{
os.Write(m_i);
return 4;
}
public virtual int intValue()
{
return m_i;
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -