Files
xrpl-hooks-ide/xrpl-hooks-docs/md/hooks-array-buf-len.md
Denis Angell d21cda21d0 !fixup
2023-06-06 12:53:43 +00:00

519 B

hooks-array-buf-len

Hook API sto_subarray requires non-empty input buffer and takes a parameter specifying the array index, whose value is limited - the sought object cannot be found if the limit is exceeded.

This check warns about empty input as well as too-large values of the index specified in calls to sto_subarray (if they're specified by constants - variable parameters are ignored).

Read more