code: def make_sized_encoder(opcode_value):
      
      opcode_bin = int2byte(opcode_value)
  
      def f(data):
          return opcode_bin + data
      return f
docs: Create an encoder that encodes the given opcode value as binary data
      and appends the given data.