Class PS_Private.Buffer

All Implemented Interfaces:
Iterable<PS_Private>, Pointer
Enclosing class:
PS_Private

public static class PS_Private.Buffer extends StructBuffer<PS_Private,PS_Private.Buffer>
An array of PS_Private structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new PS_Private.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by PS_Private.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • unique_id

      public int unique_id()
      Returns:
      the value of the unique_id field.
    • lenIV

      public int lenIV()
      Returns:
      the value of the lenIV field.
    • num_blue_values

      public byte num_blue_values()
      Returns:
      the value of the num_blue_values field.
    • num_other_blues

      public byte num_other_blues()
      Returns:
      the value of the num_other_blues field.
    • num_family_blues

      public byte num_family_blues()
      Returns:
      the value of the num_family_blues field.
    • num_family_other_blues

      public byte num_family_other_blues()
      Returns:
      the value of the num_family_other_blues field.
    • blue_values

      public ShortBuffer blue_values()
      Returns:
      a ShortBuffer view of the blue_values field.
    • blue_values

      public short blue_values(int index)
      Returns:
      the value at the specified index of the blue_values field.
    • other_blues

      public ShortBuffer other_blues()
      Returns:
      a ShortBuffer view of the other_blues field.
    • other_blues

      public short other_blues(int index)
      Returns:
      the value at the specified index of the other_blues field.
    • family_blues

      public ShortBuffer family_blues()
      Returns:
      a ShortBuffer view of the family_blues field.
    • family_blues

      public short family_blues(int index)
      Returns:
      the value at the specified index of the family_blues field.
    • family_other_blues

      public ShortBuffer family_other_blues()
      Returns:
      a ShortBuffer view of the family_other_blues field.
    • family_other_blues

      public short family_other_blues(int index)
      Returns:
      the value at the specified index of the family_other_blues field.
    • blue_scale

      public long blue_scale()
      Returns:
      the value of the blue_scale field.
    • blue_shift

      public int blue_shift()
      Returns:
      the value of the blue_shift field.
    • blue_fuzz

      public int blue_fuzz()
      Returns:
      the value of the blue_fuzz field.
    • standard_width

      public ShortBuffer standard_width()
      Returns:
      a ShortBuffer view of the standard_width field.
    • standard_width

      public short standard_width(int index)
      Returns:
      the value at the specified index of the standard_width field.
    • standard_height

      public ShortBuffer standard_height()
      Returns:
      a ShortBuffer view of the standard_height field.
    • standard_height

      public short standard_height(int index)
      Returns:
      the value at the specified index of the standard_height field.
    • num_snap_widths

      public byte num_snap_widths()
      Returns:
      the value of the num_snap_widths field.
    • num_snap_heights

      public byte num_snap_heights()
      Returns:
      the value of the num_snap_heights field.
    • force_bold

      public boolean force_bold()
      Returns:
      the value of the force_bold field.
    • round_stem_up

      public boolean round_stem_up()
      Returns:
      the value of the round_stem_up field.
    • snap_widths

      public ShortBuffer snap_widths()
      Returns:
      a ShortBuffer view of the snap_widths field.
    • snap_widths

      public short snap_widths(int index)
      Returns:
      the value at the specified index of the snap_widths field.
    • snap_heights

      public ShortBuffer snap_heights()
      Returns:
      a ShortBuffer view of the snap_heights field.
    • snap_heights

      public short snap_heights(int index)
      Returns:
      the value at the specified index of the snap_heights field.
    • expansion_factor

      public long expansion_factor()
      Returns:
      the value of the expansion_factor field.
    • language_group

      public long language_group()
      Returns:
      the value of the language_group field.
    • password

      public long password()
      Returns:
      the value of the password field.
    • min_feature

      public ShortBuffer min_feature()
      Returns:
      a ShortBuffer view of the min_feature field.
    • min_feature

      public short min_feature(int index)
      Returns:
      the value at the specified index of the min_feature field.