Function writeBitField

  • Write a bitfield definition to a BinaryWriter. This function is used in the context of the binwrite.

    Type Parameters

    • This

      The type of the bitfield.

    Parameters

    • bitfields: BitField<This>[]

      An array of BitField definition

    • targetInstance: This

      The object related to the bitfields argument with the bitfield content

    • cursor: BinaryWriter

      Cursor the write the content of the bitfield to.

    Returns void