Edit

Share via


MemoryMode Enum

Definition

Various memory modes for Blob

public enum MemoryMode
Inheritance
MemoryMode

Fields

Name Value Description
Duplicate 0

HarfBuzz makes a copy immediately.

ReadOnly 1

Default mode indicating that the memory won't be changed.

Writeable 2

Indicates that the data was copied solely for the purpose of passing to HarfBuzz.

ReadOnlyMayMakeWriteable 3

The font file was mmap()ed, but ReadOnly should still be used.

Remarks

In no case shall the HarfBuzz client modify memory that is passed to HarfBuzz in a blob. If there is any such possibility, Duplicate should be used such that HarfBuzz makes a copy immediately.

Applies to