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

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

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

如何把Byte数据读入到另一个Byte数据里 如何把Byte数据读入到另一个Byte数据里,就像as3里面的readBytes(flash.utils.ByteArray.readBytes(bytes:ByteArray, offset:uint=0, length:uint=0):void 从字节流中读取 length 参数指定的数据字节数。从 offset 指定...

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

12. 协议打包byte出错 [ 96%]

协议打包byte出错 // message request_create{ //          required string name = 1; //角色名 //          required bytes career = 2; //角色职业 //          required bytes sex = 3; //角色性别 // }             if(Msg== null){            ...

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

13. HTTP以POST发送Byte字节流,服务器无法解析 [ 95%]

HTTP以POST发送Byte字节流,服务器无法解析 JS代码: function starConnection() { console.log("starConnection"); conn=new HttpRequest(); conn.once(Event.PROGRESS, this, onHttpRequestProgress); conn.once(Event.COMPLETE, this, onHttpRequestComplete); conn.once(Event.ERROR, this, onHttpRequ...

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

14. laya.renders.VertexElementFormat_API3.0 [ 95%]

...来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Single Vector2 Vector3 Vector4 Methods getElementInfos Properties Static Byte2 Byte2: string = "byte2" Defined in laya/renders/VertexElementForma...

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

15. 关于socket处理消息的问题 [ 95%]

关于socket处理消息的问题 我尝试用 var byte:Byte = new Byte(); byte.endian = Laya.Socket.LITTLE_ENDIAN; byte.writeUint32(12); byte.writeUint16(0); byte.writeUint16(msg.opcode()); msg.encode(byte); this._socket.send(byte.__getBuffer().slice(0, byte.length); //this._socket.send(byte.__get...

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

16. laya.utils.Byte [ 95%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ByteProperties | Methods | Constants Packagelaya.utilsClasspublic class ByteInheritanceByte Object Byte 类提供用于优化读取、写入以及处理二进制数据的方法和属性。 Byte 类适用于需要在字节...

来源: Laya2.0_api 发布时间: 20190513

17. 将字节数组转为图片 [ 95%]

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

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

18. laya.d3.graphics.VertexElementFormat_API3.0 [ 95%]

...来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Single Vector2 Vector3 Vector4 Methods getElementInfos Properties Static Byte2 Byte2: string = "byte2" Defined in laya/d3/graphics/VertexElementF...

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

19. laya.utils.Byte [ 95%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ByteProperties | Methods | Constants Packagelaya.utilsClasspublic class ByteInheritanceByte Object Byte 类提供用于优化读取、写入以及处理二进制数据的方法和属性。 注意: Byte 类适用于需要...

来源: laya_api 发布时间: 20170929

20. Laya.Socket 是不是不支持Safari浏览器二进制格式的数据传输? [ 95%]

...的测试 /* * name; */ class Test{ private socket: Laya.Socket; private byte: Laya.Byte; constructor() { //初始化引擎 Laya.init(600, 400, Laya.WebGL); this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte.LITTLE_ENDIAN; this.socket = new Laya.Socket(); //这里...

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