神岛 API 文档 - ArenaPro版
    Preparing search index...

    Interface DataViewConstructor

    DataView 构造函数接口。

    DataView constructor interface.

    interface DataViewConstructor {
        new DataViewConstructor(
            buffer: ArrayBufferLike,
            byteOffset?: number,
            byteLength?: number,
        ): DataView;
    }
    Index

    Constructors

    Constructors

    • Parameters

      • buffer: ArrayBufferLike
      • OptionalbyteOffset: number
      • OptionalbyteLength: number

      Returns DataView

      创建一个新的 DataView 实例。

      Creates a new DataView instance.

      要使用的 ArrayBuffer 或 ArrayBufferLike 对象。

      The ArrayBuffer or ArrayBufferLike object to use.

      从缓冲区开始的字节偏移量。

      The byte offset from the start of the buffer.

      视图的字节长度。

      The byte length of the view.