TypeError: value is out of bounds

前端开发 作者: 2024-08-25 19:15:01
1、错误描述> buffer.writeUInt8(256,3);TypeError: value is out of bounds at checkInt (buffer.js:825:11) at Buffer.writeUInt8 (buffer.js:873:5) at r
> buffer.writeUInt8(256,3); TypeError: value is out of bounds at checkInt (buffer.js:825:11) at Buffer.writeUInt8 (buffer.js:873:5) at repl:1:8 at REPLServer.defaultEval (repl.js:262:27) at bound (domain.js:287:14) at REPLServer.runBound [as eval] (domain.js:300:12) at REPLServer.<anonymous> (repl.js:431:12) at emitOne (events.js:82:20) at REPLServer.emit (events.js:169:7) at REPLServer.Interface._onLine (readline.js:211:10) >

2、毛病缘由
> buffer.writeUInt8(255,3); 4


原创声明
本站部分文章基于互联网的整理,我们会把真正“有用/优质”的文章整理提供给各位开发者。本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
本文链接:http://www.jiecseo.com/news/show_68556.html