ImageBuffer.fromHandle constructor

ImageBuffer.fromHandle(
  1. Pointer<id3FaceImageBuffer> handle
)

Creates a new instance of the ImageBuffer class.

param handle Handle to the ImageBuffer. throws FaceException An error has occurred during Face Library execution.

Implementation

ImageBuffer.fromHandle(Pointer<id3FaceImageBuffer> handle) {
  _pHandle = calloc();
  _pHandle.value = handle;
  _disposable = false;
}