⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 codesequence.java

📁 专业汽车级嵌入式操作系统OSEK的源代码
💻 JAVA
字号:
package js.tinyvm;import java.io.IOException;import java.util.logging.Level;import java.util.logging.Logger;import js.tinyvm.io.IByteWriter;public class CodeSequence extends WritableDataWithOffset{   private byte[] iBytes;   public void setBytes (byte[] aBytes)   {      iBytes = aBytes;   }   public int getLength ()   {      if (iBytes == null)         return 0;      return iBytes.length;   }   public void dump (IByteWriter aOut) throws TinyVMException   {      try      {         if (iBytes == null)         {            _logger.log(Level.WARNING, "Not writing code sequence");            return;         }         aOut.write(iBytes);      }      catch (IOException e)      {         throw new TinyVMException(e.getMessage(), e);      }   }   private static final Logger _logger = Logger.getLogger("TinyVM");}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -