Replies: 2 comments 4 replies
-
This sounds like a reasonable feature request, I'd be +1 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there an advantage for doing that rather than |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it make sense to add 2 more arguments to isUtf8()?
Where
start
would default to0
andend
would default tobuffer.length
. It should validate only the provided range, or full buffer if no arguments are provided. This would avoid function users to create a buffer slice that comes at a cost.Beta Was this translation helpful? Give feedback.
All reactions