• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 52 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0034 秒)

1. Byte二进制读写(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 100%]

...发项目来说不太方便。在页游时代,ActionScript3.0的二进制数组ByteArray,功能完善,api操作简单易懂,因此Laya的Byte在参考ByteArray的同时承接了html5的TypedArray类型化数组的特点。下面看下主要的用法 ### 常用方法 - 构造方法 #### 参...

来源: Laya2.0_文档 发布时间: 20210715

2. Byte二进制读写(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 99%]

...发项目来说不太方便。在页游时代,ActionScript3.0的二进制数组ByteArray,功能完善,api操作简单易懂,因此Laya的Byte在参考ByteArray的同时承接了html5的TypedArray类型化数组的特点。下面看下主要的用法 ### 常用方法 - 构造方法 #### 参...

来源: Laya2.0_文档 发布时间: 20210715

3. Byte二进制读写(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 99%]

...发项目来说不太方便。在页游时代,ActionScript3.0的二进制数组ByteArray,功能完善,api操作简单易懂,因此Laya的Byte在参考ByteArray的同时承接了html5的TypedArray类型化数组的特点。下面看下主要的用法 ### 常用方法 - 构造方法 #### 参...

来源: Laya2.0_文档 发布时间: 20210714

4. 将字节数组转为图片 [ 96%]

将字节数组转为图片 flash air端将图片通过ByteArray保存为字节数组,并存为img.byte layaAir端加载了img.byte文件后如何还原为图片?flash端的loader有个loadBytes方法可以加载字节数组,但是layaAir端没有相关方法实现 2017-04-17 添加评论 免...

来源: Laya_社区 发布时间: 20170417

5. 网络通信 · LayaAir3.0文档 · LAYABOX [ 95%]

...headers (default = null) HTTP 请求的头部信息。参数形如key-value数组:key是头部的名称,不应该包括空白、冒号或换行;value是头部的值,不应该包括换行。比如["Content-Type", "application/json"]。 */ send(url: string, data: any = null, method: "get" | "p...

来源: Laya3.0_文档 发布时间: 20230719

6. laya.renders.VertexElementFormat_API3.0 [ 93%]

...: string = "byte2" Defined in laya/renders/VertexElementFormat.ts:24 字节数组2 Static Byte3 Byte3: string = "byte3" Defined in laya/renders/VertexElementFormat.ts:22 字节数组3 Static Byte4 Byte4: string = "byte4" Defined in laya/renders/VertexElementFormat.ts:20 字节数组4 Static ByteOne ...

来源: Laya3.0_api 发布时间: 20231115

7. laya.d3.graphics.VertexElementFormat_API3.0 [ 93%]

...ring = "byte2" Defined in laya/d3/graphics/VertexElementFormat.ts:24 字节数组2 Static Byte3 Byte3: string = "byte3" Defined in laya/d3/graphics/VertexElementFormat.ts:22 字节数组3 Static Byte4 Byte4: string = "byte4" Defined in laya/d3/graphics/VertexElementFormat.ts:20 字节数组4 Static ...

来源: Laya3.0_api 发布时间: 20231102

8. 如何把Byte数据读入到另一个Byte数据里 [ 90%]

...人 yonghua5416 相关问题 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 在List渲染的时候,在滚动一个list的时候...

来源: Laya_社区 发布时间: 20161226

9. WebSocket发送与接收数据(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 90%]

...入的是by.buffer; this.socket.send(this.byte.buffer);//这里是把字节数组的数据通过socket发送给服务器。 this.byte.clear();//清除掉数据;方便下次读写; ``` 上面我们看到,通过一个字节数组把我们需要的数据读入一个Byte数组,最后发送给服...

来源: Laya2.0_文档 发布时间: 20210714

10. WebSocket发送与接收数据(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 89%]

...入的是by.buffer; this.socket.send(this.byte.buffer);//这里是把字节数组的数据通过socket发送给服务器。 this.byte.clear();//清除掉数据;方便下次读写; ``` 上面我们看到,通过一个字节数组把我们需要的数据读入一个Byte数组,最后发送给服...

来源: Laya2.0_文档 发布时间: 20210714