Table of Contents

Method ReserveBuffer

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

ReserveBuffer(int)

Reserves space for the certain number of bytes.

The method reserves space for sz bytes. If the matrix already has enough space to store sz bytes, nothing happens. If matrix has to be reallocated its previous content could be lost.

public void ReserveBuffer(int sz)

Parameters

sz int

Number of bytes.