MemoryBlock insert

Wouldn’t it be good to have a method to just insert a number of bytes into a MemoryBlock
like MemoryBlock::insert(startPos, numBytes) that automatically increases the size of the block ?

Joerg

Sorry, made a mistake :frowning:
Should be read:

MemoryBlock::insert(pdataToInsert, insertPos, numBytesToInsert)

Is it such a stupid request?

Not at all, I’ve already done it! Will check in shortly…

Is it such a stupid request?

Not at all, I’ve already done it! Will check in shortly…

Now that’s service for you!

It’s a service for the community, isn’t it?

Anyway, it’s much appreciated!!

Oh, it’s an idiom.

“That’s service for you.” means “That’s an excellent example of good service.” You could also say, “That’s what I call good service.” The “you” is an impersonal you, somewhat similar to mann in German or on in French and sometimes written as “one” in English (“That’s the sort of service one really likes.”) and doesn’t refer to you

/t, studying too much grammar these days.

Ah, I see.

Thanks for the good explaination. I am from Germany where I’ve learned English in school about 20 years ago :slight_smile:

Thank you for teaching me that.

Joerg