Comments (1)
If you want get Vec<u8>
from JsValue
, you should use JsBuffer
https://github.com/napi-rs/napi-rs/blob/master/test_module/src/buffer.rs#L15
from napi-rs.
Related Issues (20)
- [CLI] Change how NEW command works
- Generated index.d.ts and index.js missing from default .gitignore HOT 3
- Migrate from `#[macro_use]` to direct `use`, add `use napi::bindgen_prelude::*;`
- Document error handling
- Support `napi` proc macro with Task HOT 1
- Building for wasm32-unknown-unknown broke HOT 1
- symbol not found in flat namespace '_napi_create_error' HOT 5
- How to run threadsafefunction with multi thread? HOT 3
- Is support for HarmonyOS and ArkTS being considered? HOT 2
- pnpm missing from docker images HOT 3
- `#[napi(catch_unwind)]` fails to compile on constructors
- pre-publish failed with "Cannot find module 'package.json'" HOT 1
- WebIDL Stub Generator
- Managed js data reference and calling js async method. HOT 1
- support ios HOT 2
- Convert JsObject to #[napi] decorated struct HOT 1
- Nap
- Project fails to compile with rust 1.75.0 HOT 3
- build error in github CI build for x86_64-unknown-linux-musl HOT 1
- Crash in msys2 environment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from napi-rs.