Class BytecodeDecoder


  • public class BytecodeDecoder
    extends de.carne.mcd.MachineCodeDecoder
    Java bytecode decoder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME
      Decoder name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected long decode0​(de.carne.mcd.io.MCDInputBuffer in, de.carne.mcd.io.MCDOutputBuffer out, long offset, long limit)  
      ClassInfo getClassInfo()
      Gets the ClassInfo associated with this BytecodeDecoder instance.
      • Methods inherited from class de.carne.mcd.MachineCodeDecoder

        byteOrder, decode, decode, decode, defaultLimit, getDecoder, getDecoder, name, setByteOrder, setDefaultLimit
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BytecodeDecoder

        public BytecodeDecoder​(ClassInfo classInfo)
        Constructs a new BytecodeDecoder instance.
        Parameters:
        classInfo - the ClassInfo of the surrounding class.
    • Method Detail

      • decode0

        protected long decode0​(de.carne.mcd.io.MCDInputBuffer in,
                               de.carne.mcd.io.MCDOutputBuffer out,
                               long offset,
                               long limit)
                        throws java.io.IOException
        Specified by:
        decode0 in class de.carne.mcd.MachineCodeDecoder
        Throws:
        java.io.IOException