simPushBufferOntoStack

Pushes a binary data buffer onto the stack. The buffer will then be located at the top of the stack

C++ synopsis

int simPushBufferOntoStack(int stackHandle, const char* value, int bufferSize)

Arguments

  • stackHandle: stack handle obtained with simCreateStack.
  • value: a binary data buffer
  • stringSize: length of the buffer.

Return

  • -1 in case of an error.


See also: