diff options
author | snek <the@snek.dev> | 2024-05-21 15:50:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-21 15:50:59 -0700 |
commit | 8f2d17140468512372ccd3aeebb0d505c607b977 (patch) | |
tree | b8a4e2d10a0cd3121d637e399b111b0c3dd8b32a /ext/node/polyfills/buffer.ts | |
parent | db82e8b557c9836481618a73cec7c014903ff256 (diff) |
feat(node): buffer isUtf8/isAscii (#23928)
Fixes: https://github.com/denoland/deno/issues/23657
Implements `isUtf8` and `isAscii` as ops.
Diffstat (limited to 'ext/node/polyfills/buffer.ts')
-rw-r--r-- | ext/node/polyfills/buffer.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/node/polyfills/buffer.ts b/ext/node/polyfills/buffer.ts index 5925475c4..c5a910cb4 100644 --- a/ext/node/polyfills/buffer.ts +++ b/ext/node/polyfills/buffer.ts @@ -7,6 +7,8 @@ export { Buffer, constants, default, + isAscii, + isUtf8, kMaxLength, kStringMaxLength, SlowBuffer, |