Using setVertexBytes for index primitives

When using index primitives is there a method to provide the indices using a temp buffer like setVertexBytes?

Right now I have to create a temp metal buffer even for a small number of vertices and toss it after rendering using drawIndexedPrimitives.

Using setVertexBytes for index primitives
 
 
Q