Platforms to show: All Mac Windows Linux Cross-Platform

Back to DynaPDFRawImageMBS class.

DynaPDFRawImageMBS.setBuffer(data as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 13.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the buffer to point to the bytes in the memoryblock.

Size is optional. Some memoryblocks have no known size and there you need to specify one.

See also:

Some examples using this method:

DynaPDFRawImageMBS.setBuffer(data as MemoryBlock, size as Int64)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 14.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the buffer to point to the bytes in the memoryblock.

Size is optional. Some memoryblocks have no known size and there you need to specify one.

See also:

DynaPDFRawImageMBS.setBuffer(data as Ptr)   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 14.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Private method to set the buffer using a pointer to some memory.

This is a private method to make sure nobody passes a ptr instead of memoryblock or ptr+size.

See also:

DynaPDFRawImageMBS.setBuffer(data as Ptr, size as Int64)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 13.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the buffer using a pointer to some memory.

Please provide the right size.

See also:

DynaPDFRawImageMBS.setBuffer(data as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 13.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets buffer to point to contents of this string.

If you specify a size, the size can be smaller than thing length to use only first part.

See also:

DynaPDFRawImageMBS.setBuffer(data as string, size as Int64)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 14.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets buffer to point to contents of this string.

If you specify a size, the size can be smaller than thing length to use only first part.

See also:

The items on this page are in the following plugins: MBS DynaPDF Plugin.


The biggest plugin in space...