encodeing.java
来自「JAVA邮件系统」· Java 代码 · 共 22 行
JAVA
22 行
import java.lang.Integer;
public interface Encodeing
{
public int lineCode = 54;
//sometime , before encode , we need calc the number of
//hight ascii code in buffer;
public int CalcEncodeLengthForCharBuffer( byte[] sSrc );
public int CalcEncodeLength( byte[] sSrc , int nLength );
//the buffer should be alloc and free by external module;
//Now ,it always return TRUE;
public int Encode( byte[] sSrc,byte[] sDes,int nSrcLength
,int nOffsetSrc ,int nOffsetDes );
//the buffer should be alloc and free by external module;
//Now ,it always return TRUE;
public int Decode( byte[] sSrc,byte[] sDes,int nSrcLength
,int nOffsetSrc ,int nOffsetDes );
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?