The DataView view provides a low-level interface for reading and writing multiple number types in an ArrayBuffer irrespective of the platform's endianness.
Inheritance: ObjectInstance
        //     INITIALIZATION
        //_________________________________________________________________________________________

        /// <summary>
        /// Creates a new DataView constructor.
        /// </summary>
        /// <param name="prototype"> The next object in the prototype chain. </param>
        internal DataViewConstructor(ObjectInstance prototype)
            : base(prototype, __STUB__Construct, __STUB__Call)
        {
            // Initialize the constructor properties.
            var properties = new List <PropertyNameAndValue>(3);

            InitializeConstructorProperties(properties, "DataView", 3, DataViewInstance.CreatePrototype(Engine, this));
            InitializeProperties(properties);
        }
示例#2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="dataViewInstance">The displayed DataViewInstance</param>
 public DataViewInstanceDebugView(DataViewInstance dataViewInstance)
 {
     this.dataViewInstance = dataViewInstance;
 }