Capítulo 384 de 859

Chapter 384: BitcastNode

Core Idea

This node represents an operation that reinterprets the bit representation of a value in one type as a value in another type.

Key Concepts

  • conversionType : string: The type the value will be converted to.
  • inputType : string: The expected input data type of the bitcast operation.
  • isBitcastNode : boolean (readonly): This flag can be used for type testing.
  • valueNode : Node: The data to bitcast to a new type.

Reference Tables

Constructor

Signature
new BitcastNode( valueNode : Node, conversionType : string, inputType : string )

Properties

PropertyDescription
.conversionType : stringThe type the value will be converted to.
.inputType : stringThe expected input data type of the bitcast operation.
.isBitcastNode : boolean (readonly)This flag can be used for type testing.
.valueNode : NodeThe data to bitcast to a new type.

Key Takeaways

  1. BitcastNode extends: EventDispatcher → Node → TempNode
  2. Most relevant properties: conversionType, inputType, isBitcastNode, valueNode.

Connects To