Strange code

21 views
Skip to first unread message

Dimitry Sibiryakov

unread,
May 31, 2025, 4:32:53 AM5/31/25
to firebir...@googlegroups.com
Hello,

could someone explain following code?

> HalfStaticArray<UCHAR, BUFFER_LARGE> buffer;
> UCHAR* buffer_ptr = buffer.getBuffer(BUFFER_TINY);

Buffer allocates a large inline storage but only tiny part of it is used.
What's the point?

--
WBR, SD.

Reply all
Reply to author
Forward
0 new messages