LBuffer::GetData

Summary

Retrieves a pointer to the class object's buffer.

Syntax

#include "ltwrappr.h"

L_UCHAR* LBuffer::GetData()

Returns

The actual pointer to the allocated LEAD buffer (not a copy). The pointer is valid for as long as the class is valid or until the class buffer is resized. Do not attempt to free this pointer: it will be freed automatically when the class is destroyed.

Comments

Get the size of the buffer by calling LBuffer::GetSize().

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.