translator.java
来自「《移动Agent技术》一书的所有章节源代码。」· Java 代码 · 共 24 行
JAVA
24 行
package org.bouncycastle.util.encoders;/** * general interface for an translator. */public interface Translator{ /** * size of the output block on encoding produced by getDecodedBlockSize() * bytes. */ public int getEncodedBlockSize(); public int encode(byte[] in, int inOff, int length, byte[] out, int outOff); /** * size of the output block on decoding produced by getEncodedBlockSize() * bytes. */ public int getDecodedBlockSize(); public int decode(byte[] in, int inOff, int length, byte[] out, int outOff);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?