(value)
| 261 | return errors; |
| 262 | } |
| 263 | function getValue(value) { |
| 264 | let bytes = toBeArray(value); |
| 265 | assert(bytes.length <= WordSize, "value out-of-bounds", "BUFFER_OVERRUN", { buffer: bytes, length: WordSize, offset: bytes.length }); |
| 266 | if (bytes.length !== WordSize) { |
| 267 | bytes = getBytesCopy(concat([Padding.slice(bytes.length % WordSize), bytes])); |
| 268 | } |
| 269 | return bytes; |
| 270 | } |
| 271 | /** |
| 272 | * @_ignore |
| 273 | */ |
no test coverage detected
searching dependent graphs…