HeapBlock get or getData?


Does someone know the difference between HeapBlock::get() and HeapBlock::getData() ?

They are completely same. (Maybe there was some difference in the past between them, but for code compatibility purposes both methods are still in the class.)

1 Like

Thank you very much @xenakios ! :slight_smile:

It seems that getData is older. Here < Deleted the String (bool) constructor to prevent nasty type conversio… · juce-framework/JUCE@d59ac51 · GitHub > the shortest name get has been added. For consistency i guess.

1 Like