simCreateBuffer

Creates a buffer. The buffer needs to be released with simReleaseBuffer except otherwise explicitly specified.

C++ synopsis

void* simCreateBuffer(int size)

Arguments

  • size: size of the buffer

Return

  • buffer if operation was successful, nullptr otherwise