Class ConstantDataSequential
A vector or array constant whose element type is a simple 1/2/4/8-byte integer or float/double, and whose elements are just simple data values (i.e. ConstantInt/ConstantFP).
public class ConstantDataSequential : ConstantData, IEquatable<Value>
- Inheritance
-
ConstantDataSequential
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
This Constant node has no operands because it stores all of the elements of the constant as densely packed data, instead of as Values
Properties
- Count
Gets the count of elements in this ConstantDataSequential
- IsI8Sequence
Gets a value indicating whether this constant is a sequence of 8bit integral values
- IsString
Gets a value indicating whether this constant is a string
- RawData
Gets the raw Data for the data sequential as a ReadOnlySpan<T> of byte
Methods
- ExtractAsString()
Extract a string value from the constant (Assumes encoding ASCII)
- ExtractAsString(Encoding)
summary