Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitpay/bitcore-message
/ kMaxLength
Function
kMaxLength
bitcore-message.js:354–358 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
352
}
353
354
function
kMaxLength () {
355
return
Buffer.TYPED_ARRAY_SUPPORT
356
? 0x7fffffff
357
: 0x3fffffff
358
}
359
360
function
createBuffer (that, length) {
361
if
(kMaxLength() < length) {
Callers
3
bitcore-message.js
File · 0.85
createBuffer
Function · 0.85
checked
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected