py_bytes_resize method

void py_bytes_resize(
  1. py_Ref arg0,
  2. int size
)

Resize a bytes object. It can only be resized down.

Implementation

void py_bytes_resize(
  py_Ref arg0,
  int size,
) {
  return _py_bytes_resize(
    arg0,
    size,
  );
}