?? coder.java
字號:
// FrontEnd Plus for JAD
// DeCompiled : coder.class
package utils;
public class coder//編碼
{
protected int len;//長度
protected int offset;//偏移量
protected int size;//大小
protected int step;//每次增加的長度
protected byte bytes[];//字節(jié)數(shù)組
protected void increase(int i)//按照step增加長度
{
if(i < step)
i = step;
int j = size + i;
byte abyte0[] = new byte[j];
for(int k = 0; k < size; k++)
abyte0[k] = bytes[k];
bytes = abyte0;
size = j;
}
public int lenfix(byte byte0)
{
if(byte0 >= 0)
return byte0;
else
return byte0 + 256;
}
public int lenfix(int i)
{
return i;
}
protected coder(int i)
{
len = 0;
offset = 0;
if(i == 0)
i = 500;
size = i;
step = i;
bytes = new byte[size];
}
protected coder(byte abyte0[])
{
size = abyte0.length;
bytes = abyte0;
len = abyte0.length;
offset = 0;
step = 500;
}
public String toString()//變換成16個字符一行的16進制ASCII碼
{
String s = "Size:" + size + " Len:" + len + " Offset:" + offset + " Step:" + step;
for(int j = 0; j < len; j++)
{
if(j % 16 == 0)
s = s + "\n ";
int i = bytes[j] & 0xff;
if(i < 16)
s = s + '0';
s = s + Integer.toHexString(i) + " ";
}
s = s + "\n";
return s;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -