Xojo.Core.MutableMemoryBlock.Insert

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

Xojo.Core.MutableMemoryBlock.Insert(offset As UInteger, other As Xojo.Core.MemoryBlock)

Supported for all project types and targets.

Inserts other data as a MemoryBlock into the MemoryBlock at the specified offset (byte position). This invalidates the Data property.


Method

Xojo.Core.MutableMemoryBlock.Insert(offset As UInteger, other() As Byte)

Supported for all project types and targets.

Inserts other data as a Byte array into the MemoryBlock at the specified offset (byte position). This invalidates the Data property.

Exceptions