예제 #1
0
 private static NewDelegatePrototype DecodeNewDelegate(IReadOnlyList <LNode> data, DecoderState state)
 {
     return(NewDelegatePrototype.Create(
                state.DecodeType(data[0]),
                state.DecodeMethod(data[1]),
                state.DecodeBoolean(data[2]),
                state.DecodeMethodLookup(data[3])));
 }
예제 #2
0
 private static CallPrototype DecodeCall(IReadOnlyList <LNode> data, DecoderState state)
 {
     return(CallPrototype.Create(
                state.DecodeMethod(data[0]),
                state.DecodeMethodLookup(data[1])));
 }