Record Class Mapping.Char

java.lang.Object
java.lang.Record
org.lwjgl.system.ffm.mapping.Mapping.Char
All Implemented Interfaces:
DataMapping<ValueLayout.OfChar>, IntegerMapping<ValueLayout.OfChar>, Mapping<ValueLayout.OfChar>, PrimitiveMapping<ValueLayout.OfChar>
Enclosing interface:
Mapping<L extends MemoryLayout>

public static record Mapping.Char(ValueLayout.OfChar layout, Mapping.Pointer p) extends Record implements IntegerMapping<ValueLayout.OfChar>
Mapping from ValueLayout.JAVA_CHAR to C uint16_t.
  • Constructor Details

    • Char

      public Char(ValueLayout.OfChar layout, Mapping.Pointer p)
      Creates an instance of a Char record class.
      Parameters:
      layout - the value for the layout record component
      p - the value for the p record component
  • Method Details