func (self *TABLE_SWITCH) FetchOperands(reader *base.BytecodeReader) { reader.SkipPadding() self.defaultOffset = reader.ReadInt32() self.low = reader.ReadInt32() self.high = reader.ReadInt32() jumpOffsetsCount := self.high - self.low + 1 self.jumpOffsets = reader.ReadInt32s(jumpOffsetsCount) }
func (self *LOOKUP_SWITCH) FetchOperands(reader *base.BytecodeReader) { reader.SkipPadding() self.defaultOffset = reader.ReadInt32() self.npairs = reader.ReadInt32() self.matchOffsets = reader.ReadInt32s(self.npairs * 2) }